aboutsummaryrefslogtreecommitdiff
path: root/src/path/path.go
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2015-11-27 23:10:29 -0500
committerMinux Ma <minux@golang.org>2015-11-28 05:54:25 +0000
commita0233fdbdae82de924ea2a20bd575ef08dc38001 (patch)
tree62eb8a620f586b5415547fe06a934603d81bcff5 /src/path/path.go
parentde531fc255e4b8ec6c38fa839546cddcac1e074b (diff)
downloadgo-a0233fdbdae82de924ea2a20bd575ef08dc38001.tar.xz
path: fix typo
Fixes #13419. Change-Id: I530d0b714ea0743c72eacd07b390c3f8cc556e21 Reviewed-on: https://go-review.googlesource.com/17239 Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/path/path.go')
-rw-r--r--src/path/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/path.go b/src/path/path.go
index 77f2185eae..01071a9a82 100644
--- a/src/path/path.go
+++ b/src/path/path.go
@@ -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) {