mirror of https://github.com/golang/go.git
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>
This commit is contained in:
parent
b8c87a1155
commit
94df2050dd
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue