Skip to content

Commit

Permalink
net/http: add function name to the beginning of comment
Browse files Browse the repository at this point in the history
Change-Id: I6f5a94cd8b6e8f7201202514ac0f9c78811c43bc
Reviewed-on: https://go-review.googlesource.com/103695
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
namusyaka authored and bradfitz committed Mar 30, 2018
1 parent b638760 commit 4468b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 "/"
Expand Down

0 comments on commit 4468b0b

Please sign in to comment.