aboutsummaryrefslogtreecommitdiff
path: root/src/path/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/path/path.go')
-rw-r--r--src/path/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/path.go b/src/path/path.go
index 50065ac731..5149a92c4f 100644
--- a/src/path/path.go
+++ b/src/path/path.go
@@ -214,7 +214,7 @@ func IsAbs(path string) bool {
}
// Dir returns all but the last element of path, typically the path's directory.
-// After dropping the final element using Split, the path is Cleaned and trailing
+// After dropping the final element using [Split], the path is Cleaned and trailing
// slashes are removed.
// If the path is empty, Dir returns ".".
// If the path consists entirely of slashes followed by non-slash bytes, Dir