summaryrefslogtreecommitdiff
path: root/libgo/go/regexp/syntax/regexp.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/regexp/syntax/regexp.go')
-rw-r--r--libgo/go/regexp/syntax/regexp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/regexp/syntax/regexp.go b/libgo/go/regexp/syntax/regexp.go
index a3f56f8c902..ae5fa053f98 100644
--- a/libgo/go/regexp/syntax/regexp.go
+++ b/libgo/go/regexp/syntax/regexp.go
@@ -59,7 +59,7 @@ const (
const opPseudo Op = 128 // where pseudo-ops start
-// Equal returns true if x and y have identical structure.
+// Equal reports whether x and y have identical structure.
func (x *Regexp) Equal(y *Regexp) bool {
if x == nil || y == nil {
return x == y