docs: remove redundant comments (#3765)

This commit is contained in:
WeiTheShinobi 2023-11-16 23:46:11 +08:00 committed by GitHub
parent 0aeac86b05
commit 49f45a5427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

1
gin.go
View File

@ -334,7 +334,6 @@ func (engine *Engine) addRoute(method, path string, handlers HandlersChain) {
}
root.addRoute(path, handlers)
// Update maxParams
if paramsCount := countParams(path); paramsCount > engine.maxParams {
engine.maxParams = paramsCount
}