Skip to content
Browse files

Clarify language on string 'prefix'

  • Loading branch information...
1 parent 56794c8 commit 4581bff87f3dddc5557fe9a0f8ec88a48bb07820 @candlerb candlerb committed Aug 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 string19.rb
View
2 string19.rb
@@ -775,7 +775,7 @@ def b.==(other)
is 1,
a <=> b # but in UCA, hello comes before hellO
-# If the strings share a common prefix then the longer string wins.
+# If one string is prefix of the other then the longer string wins.
# If the strings are bytewise equal and the encodings are equal, it returns 0.
# If the strings are bytewise equal and are comparable, it returns 0.

0 comments on commit 4581bff

Please sign in to comment.
Something went wrong with that request. Please try again.