From c89a198b6270325c37e6d227f568182752955bb9 Mon Sep 17 00:00:00 2001 From: WeiTheShinobi Date: Tue, 31 Oct 2023 23:10:41 +0800 Subject: [PATCH] chore: remove redundant comments --- gin.go | 1 - 1 file changed, 1 deletion(-) diff --git a/gin.go b/gin.go index ed8b6dad..5a605cf1 100644 --- a/gin.go +++ b/gin.go @@ -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 }