Skip to content

Commit a0233fd

Browse files
committed
path: fix typo
Fixes golang#13419. Change-Id: I530d0b714ea0743c72eacd07b390c3f8cc556e21 Reviewed-on: https://go-review.googlesource.com/17239 Reviewed-by: Robert Griesemer <gri@golang.org>
1 parent de531fc commit a0233fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/path/path.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func Clean(path string) string {
136136

137137
// Split splits path immediately following the final slash,
138138
// separating it into a directory and file name component.
139-
// If there is no slash path, Split returns an empty dir and
139+
// If there is no slash in path, Split returns an empty dir and
140140
// file set to path.
141141
// The returned values have the property that path = dir+file.
142142
func Split(path string) (dir, file string) {

0 commit comments

Comments
 (0)