Skip to content

Commit 40e2e8f

Browse files
yuya-morimotoaldas
authored andcommitted
Fix typo "+"
1 parent 55cb3b6 commit 40e2e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ func (r *Router) Find(method, path string, c Context) {
692692

693693
// update indexes/search in case we need to backtrack when no handler match is found
694694
paramIndex++
695-
searchIndex += +len(search)
695+
searchIndex += len(search)
696696
search = ""
697697

698698
if h := currentNode.findMethod(method); h != nil {

0 commit comments

Comments
 (0)