1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:04:43 -07:00

net/http: add function name to the beginning of comment

Change-Id: I6f5a94cd8b6e8f7201202514ac0f9c78811c43bc
Reviewed-on: https://go-review.googlesource.com/103695
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Kunpei Sakai 2018-03-31 04:19:06 +09:00 committed by Brad Fitzpatrick
parent b638760dad
commit 4468b0bac1

View File

@ -2152,7 +2152,7 @@ func pathMatch(pattern, path string) bool {
return len(path) >= n && path[0:n] == pattern
}
// Return the canonical path for p, eliminating . and .. elements.
// cleanPath returns the canonical path for p, eliminating . and .. elements.
func cleanPath(p string) string {
if p == "" {
return "/"