We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad3ccd9 commit a97c8f4Copy full SHA for a97c8f4
src/net/http/pattern.go
@@ -394,14 +394,6 @@ func inverseRelationship(r relationship) relationship {
394
}
395
396
397
-// isLitOrSingle reports whether the segment is a non-dollar literal or a single wildcard.
398
-func isLitOrSingle(seg segment) bool {
399
- if seg.wild {
400
- return !seg.multi
401
- }
402
- return seg.s != "/"
403
-}
404
-
405
// describeConflict returns an explanation of why two patterns conflict.
406
func describeConflict(p1, p2 *pattern) string {
407
mrel := p1.compareMethods(p2)
0 commit comments