aboutsummaryrefslogtreecommitdiff
path: root/src/path/filepath/path_plan9.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/path/filepath/path_plan9.go')
-rw-r--r--src/path/filepath/path_plan9.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/filepath/path_plan9.go b/src/path/filepath/path_plan9.go
index da5f5fdac7..962774efd5 100644
--- a/src/path/filepath/path_plan9.go
+++ b/src/path/filepath/path_plan9.go
@@ -6,7 +6,7 @@ package filepath
import "strings"
-// IsAbs returns true if the path is absolute.
+// IsAbs reports whether the path is absolute.
func IsAbs(path string) bool {
return strings.HasPrefix(path, "/") || strings.HasPrefix(path, "#")
}