diff --git a/route/route.go b/route/route.go index 90bc3972a9da22eec7e5901bb002fe0be7301b47..67249f6419e10585175182d945a290600921b28b 100644 --- a/route/route.go +++ b/route/route.go @@ -80,7 +80,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)