diff options
-rw-r--r-- | src/gleam/string.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/string.gleam b/src/gleam/string.gleam index 7cf4243..39a69d3 100644 --- a/src/gleam/string.gleam +++ b/src/gleam/string.gleam @@ -189,7 +189,7 @@ pub fn compare(a: String, b: String) -> order.Order { @external(javascript, "../gleam_stdlib.mjs", "less_than") fn less_than(a: String, b: String) -> Bool -/// Takes a substring given a start and end grapheme indexes. Negative indexes +/// Takes a substring given a start grapheme index and a length. Negative indexes /// are taken starting from the *end* of the list. /// /// ## Examples |