aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2010-08-05 11:43:53 +1000
committerAlex Brainman <alex.brainman@gmail.com>2010-08-05 11:43:53 +1000
commit8251e72aea030eec445d7cb8eed38732f7b0f9c7 (patch)
treeaa1302678a8fcd2433d36bfd1526f9839d96a810
parentd9e2631b53395fd3128f62cc621f2b1ed206a109 (diff)
downloadgo-8251e72aea030eec445d7cb8eed38732f7b0f9c7.tar.gz
go-8251e72aea030eec445d7cb8eed38732f7b0f9c7.zip
path: fix comment for Split()
R=golang-dev CC=golang-dev https://golang.org/cl/1905050
-rw-r--r--src/pkg/path/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/path.go b/src/pkg/path/path.go
index 9c1d09374c..6a499f0426 100644
--- a/src/pkg/path/path.go
+++ b/src/pkg/path/path.go
@@ -104,7 +104,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 in path, DirFile returns an empty dir and
+// If there is no slash in path, Split returns an empty dir and
// file set to path.
func Split(path string) (dir, file string) {
for i := len(path) - 1; i >= 0; i-- {