Skip to content

Commit 49f45a5

Browse files
docs: remove redundant comments (#3765)
1 parent 0aeac86 commit 49f45a5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ func (engine *Engine) addRoute(method, path string, handlers HandlersChain) {
334334
}
335335
root.addRoute(path, handlers)
336336

337-
// Update maxParams
338337
if paramsCount := countParams(path); paramsCount > engine.maxParams {
339338
engine.maxParams = paramsCount
340339
}

0 commit comments

Comments
 (0)