Skip to content

Commit 4468b0b

Browse files
namusyakabradfitz
authored andcommitted
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 <[email protected]>
1 parent b638760 commit 4468b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/http/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2152,7 +2152,7 @@ func pathMatch(pattern, path string) bool {
21522152
return len(path) >= n && path[0:n] == pattern
21532153
}
21542154

2155-
// Return the canonical path for p, eliminating . and .. elements.
2155+
// cleanPath returns the canonical path for p, eliminating . and .. elements.
21562156
func cleanPath(p string) string {
21572157
if p == "" {
21582158
return "/"

0 commit comments

Comments
 (0)