aboutsummaryrefslogtreecommitdiff
path: root/src/strings/strings_decl.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/strings_decl.go')
-rw-r--r--src/strings/strings_decl.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/strings/strings_decl.go b/src/strings/strings_decl.go
index 9dc2a9a6c6..810a696af2 100644
--- a/src/strings/strings_decl.go
+++ b/src/strings/strings_decl.go
@@ -6,10 +6,3 @@ package strings
// IndexByte returns the index of the first instance of c in s, or -1 if c is not present in s.
func IndexByte(s string, c byte) int // ../runtime/asm_$GOARCH.s
-
-// 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.
-//
-// In most cases it is simpler to use the built-in comparison operators
-// ==, <, >, and so on.
-func Compare(a, b string) int // ../runtime/noasm.go or ../runtime/asm_*.s