]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typo in doc string
authorRobert Griesemer <gri@golang.org>
Tue, 23 Feb 2016 03:41:17 +0000 (19:41 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 23 Feb 2016 03:42:24 +0000 (03:42 +0000)
Fixes #14475.

Change-Id: I1b5b0a9793a417572ec55f313185d03ad5ae9d01
Reviewed-on: https://go-review.googlesource.com/19846
Reviewed-by: Robert Griesemer <gri@golang.org>
src/net/http/fs.go

index 8a5b8bba37516fe6f01c4a3ee09348628d9994a4..520a5477a7ba867f3d87fb2be92b8e9a40cb008d 100644 (file)
@@ -451,7 +451,7 @@ func localRedirect(w ResponseWriter, r *Request, newPath string) {
 // ServeFile replies to the request with the contents of the named
 // file or directory.
 //
-// If the provided file or direcory name is a relative path, it is
+// If the provided file or directory name is a relative path, it is
 // interpreted relative to the current directory and may ascend to parent
 // directories. If the provided name is constructed from user input, it
 // should be sanitized before calling ServeFile. As a precaution, ServeFile