diff --git a/route/route.go b/route/route.go index 562f4f913411acd5d023bed79d684ef83169e83b..3dfbb78b4dd9ce80b279d123148d76aec3c4bd98 100644 --- a/route/route.go +++ b/route/route.go @@ -120,7 +120,7 @@ func (r *Route) AddPath(p *Path) { r.paths = append(r.paths, p) } -// RemovePath removes path `p` from route `r`. Returns length of path list after removing path `rm` +// RemovePath removes path `p` from route `r`. Returns length of path list after removing path `p` func (r *Route) RemovePath(p *Path) int { if p == nil { return len(r.paths)