aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2023-11-02 12:21:27 +0000
committerLouis Pilfold <louis@lpil.uk>2023-11-05 12:29:40 +0000
commit920b2694dcb4bd345489ff04e0b6dff2c4ebb397 (patch)
treecd77b084c7e5f80e0bff7c3e542cd570a9b5064e
parent24db16703bcbc036b5c47aa66aa776f2e58d9b24 (diff)
downloadgleam_stdlib-920b2694dcb4bd345489ff04e0b6dff2c4ebb397.tar.gz
gleam_stdlib-920b2694dcb4bd345489ff04e0b6dff2c4ebb397.zip
Update string.gleam
-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 bb03750..2c8912f 100644
--- a/src/gleam/string.gleam
+++ b/src/gleam/string.gleam
@@ -786,7 +786,7 @@ pub fn utf_codepoint(value: Int) -> Result(UtfCodepoint, Nil) {
/// ## Examples
///
/// ```gleam
-/// > let [utf_codepoint, ..] = to_utf_codepoints("💜")
+/// > let assert [utf_codepoint, ..] = to_utf_codepoints("💜")
/// > utf_codepoint_to_int(utf_codepoint)
/// 128156
/// ```