]> Cypherpunks repositories - gostls13.git/commitdiff
path: fix a typo in documentation of Split
authorMichael Käufl <golang@c.michael-kaeufl.de>
Sun, 31 May 2015 18:22:11 +0000 (20:22 +0200)
committerMinux Ma <minux@golang.org>
Sun, 31 May 2015 22:08:38 +0000 (22:08 +0000)
Change-Id: Ic00882735d95d61f7c9d9f28d34cb4acce6a5546
Reviewed-on: https://go-review.googlesource.com/10556
Reviewed-by: Minux Ma <minux@golang.org>
src/path/path.go

index 3f0828c44a5e792726bbb71d3003087490cbf8d7..77f2185eaecb0d68618c5d5d7f18bc4e6e61e77d 100644 (file)
@@ -134,7 +134,7 @@ func Clean(path string) string {
        return out.string()
 }
 
-// Split splits path immediately following the final slash.
+// Split splits path immediately following the final slash,
 // separating it into a directory and file name component.
 // If there is no slash path, Split returns an empty dir and
 // file set to path.