Skip to content

Commit

Permalink
docs: remove redundant comments (#3765)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiTheShinobi authored Nov 16, 2023
1 parent 0aeac86 commit 49f45a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 49f45a5

Please sign in to comment.