mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue