aboutsummaryrefslogtreecommitdiff
path: root/src/pkg
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2011-07-13 15:10:50 -0700
committerRobert Griesemer <gri@golang.org>2011-07-13 15:10:50 -0700
commitf4acaa8ecd3057e99ce2a7b92c6b2b4cdd363743 (patch)
treeff1a607207c79e3dd9ea01e494220a10ef6a0a75 /src/pkg
parent469e3331069639fd1592593940febe0aacc6d40c (diff)
downloadgo-f4acaa8ecd3057e99ce2a7b92c6b2b4cdd363743.tar.xz
filepath/path: fix a comment
R=bradfitz CC=golang-dev https://golang.org/cl/4704047
Diffstat (limited to 'src/pkg')
-rw-r--r--src/pkg/path/filepath/path.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/path/filepath/path.go b/src/pkg/path/filepath/path.go
index b181483ed6..a5e6a22ae9 100644
--- a/src/pkg/path/filepath/path.go
+++ b/src/pkg/path/filepath/path.go
@@ -140,8 +140,8 @@ func SplitList(path string) []string {
}
// Split splits path immediately following the final Separator,
-// partitioning it into a directory and a file name components.
-// If there are no separators in path, Split returns an empty base
+// separating it into a directory and file name component.
+// If there is no Separator in path, Split returns an empty dir
// and file set to path.
func Split(path string) (dir, file string) {
i := len(path) - 1