Skip to content

Commit df0303d

Browse files
authored
Fixed incorrect comment about routing (#887)
The comment was meant to demonstrate how non-wildcard routes can match wilecard routes, but there was likely a typo that made it incorrect.
1 parent cbaac31 commit df0303d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
// "/user/{name}" matches "/user/jsmith" but not "/user/jsmith/info" or "/user/jsmith/"
5252
// "/user/{name}/info" matches "/user/jsmith/info"
5353
// "/page/*" matches "/page/intro/latest"
54-
// "/page/{other}/index" also matches "/page/intro/latest"
54+
// "/page/{other}/latest" also matches "/page/intro/latest"
5555
// "/date/{yyyy:\\d\\d\\d\\d}/{mm:\\d\\d}/{dd:\\d\\d}" matches "/date/2017/04/01"
5656
package chi
5757

0 commit comments

Comments
 (0)