chore: remove redundant comments

This commit is contained in:
WeiTheShinobi 2023-10-31 23:10:41 +08:00
parent a481ee2897
commit c89a198b62

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
}