aboutsummaryrefslogtreecommitdiff
path: root/src/path
diff options
context:
space:
mode:
authorMichael Käufl <golang@c.michael-kaeufl.de>2015-05-31 20:22:11 +0200
committerMinux Ma <minux@golang.org>2015-05-31 22:08:38 +0000
commit94df2050dd6085c7afcd8bcee8ff0cd111444b47 (patch)
tree76ff5194755b882d31d37e496122b2b9797312a8 /src/path
parentb8c87a1155a12f624a5bc746fd6aab260fbaf20a (diff)
downloadgo-94df2050dd6085c7afcd8bcee8ff0cd111444b47.tar.xz
path: fix a typo in documentation of Split
Change-Id: Ic00882735d95d61f7c9d9f28d34cb4acce6a5546 Reviewed-on: https://go-review.googlesource.com/10556 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/path')
-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 3f0828c44a..77f2185eae 100644
--- a/src/path/path.go
+++ b/src/path/path.go
@@ -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.