Update tree.go

This commit is contained in:
田欧 2019-02-20 17:33:23 +08:00 committed by GitHub
parent f73e1ea630
commit 2735d36036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ func (n *node) addRoute(path string, handlers HandlersChain) {
continue walk continue walk
} }
} }
// Wildcard conflict // Wildcard conflict
pathSeg := path pathSeg := path
if n.nType != catchAll { if n.nType != catchAll {