]> Cypherpunks repositories - gostls13.git/commitdiff
path: fix typo
authorShenghou Ma <minux@golang.org>
Sat, 28 Nov 2015 04:10:29 +0000 (23:10 -0500)
committerMinux Ma <minux@golang.org>
Sat, 28 Nov 2015 05:54:25 +0000 (05:54 +0000)
Fixes #13419.

Change-Id: I530d0b714ea0743c72eacd07b390c3f8cc556e21
Reviewed-on: https://go-review.googlesource.com/17239
Reviewed-by: Robert Griesemer <gri@golang.org>
src/path/path.go

index 77f2185eaecb0d68618c5d5d7f18bc4e6e61e77d..01071a9a826b393ad4c8dc241b6c1ebc8bfd0f99 100644 (file)
@@ -136,7 +136,7 @@ func Clean(path string) string {
 
 // 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
+// If there is no slash in path, Split returns an empty dir and
 // file set to path.
 // The returned values have the property that path = dir+file.
 func Split(path string) (dir, file string) {