aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbossek <lv.bossek@gmail.com>2020-11-27 18:41:14 +0100
committerGitHub <noreply@github.com>2020-11-27 18:41:14 +0100
commit384f1cec971f596a272550f4f88aacbd89e65085 (patch)
tree1142c10ef2d0ac217f1dee63fdb51bb4191e6d91 /src
parentfc6f94c70b7a914ef85b69b3319b07785e81f03b (diff)
downloadgleam_stdlib-384f1cec971f596a272550f4f88aacbd89e65085.tar.gz
gleam_stdlib-384f1cec971f596a272550f4f88aacbd89e65085.zip
Fix string compare function docs (#134)
Co-authored-by: Lubos Vesely <lubos.vesely@altworx.com>
Diffstat (limited to 'src')
-rw-r--r--src/gleam/string.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/string.gleam b/src/gleam/string.gleam
index 54bced3..379bc57 100644
--- a/src/gleam/string.gleam
+++ b/src/gleam/string.gleam
@@ -123,7 +123,7 @@ pub external fn uppercase(String) -> String =
/// order.Eq
///
/// > compare("A", "B")
-/// order.Gt
+/// order.Lt
///
pub external fn compare(String, String) -> order.Order =
"gleam_stdlib" "compare_strings"