aboutsummaryrefslogtreecommitdiff
path: root/src/path/match.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/path/match.go')
-rw-r--r--src/path/match.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/match.go b/src/path/match.go
index 673bbc7ff6..d8b6809568 100644
--- a/src/path/match.go
+++ b/src/path/match.go
@@ -32,7 +32,7 @@ var ErrBadPattern = errors.New("syntax error in pattern")
// lo '-' hi matches character c for lo <= c <= hi
//
// Match requires pattern to match all of name, not just a substring.
-// The only possible returned error is ErrBadPattern, when pattern
+// The only possible returned error is [ErrBadPattern], when pattern
// is malformed.
func Match(pattern, name string) (matched bool, err error) {
Pattern: