]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: add function name to the beginning of comment
authorKunpei Sakai <namusyaka@gmail.com>
Fri, 30 Mar 2018 19:19:06 +0000 (04:19 +0900)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 30 Mar 2018 19:32:46 +0000 (19:32 +0000)
Change-Id: I6f5a94cd8b6e8f7201202514ac0f9c78811c43bc
Reviewed-on: https://go-review.googlesource.com/103695
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/server.go

index c04eb42fef5e35d8c29e7b91df7d53b50702f557..084af32a6bc96bfbc78fd12a4ce9b4f6f270ad1c 100644 (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 "/"