diff options
Diffstat (limited to 'libgo/go/strings/compare.go')
-rw-r--r-- | libgo/go/strings/compare.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/strings/compare.go b/libgo/go/strings/compare.go index 1fe6b8d..2bd4a24 100644 --- a/libgo/go/strings/compare.go +++ b/libgo/go/strings/compare.go @@ -5,7 +5,7 @@ package strings // Compare returns an integer comparing two strings lexicographically. -// The result will be 0 if a==b, -1 if a < b, and +1 if a > b. +// The result will be 0 if a == b, -1 if a < b, and +1 if a > b. // // Compare is included only for symmetry with package bytes. // It is usually clearer and always faster to use the built-in |