diff options
author | inoas <mail@inoas.com> | 2023-11-02 12:21:27 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-11-05 12:29:40 +0000 |
commit | 920b2694dcb4bd345489ff04e0b6dff2c4ebb397 (patch) | |
tree | cd77b084c7e5f80e0bff7c3e542cd570a9b5064e | |
parent | 24db16703bcbc036b5c47aa66aa776f2e58d9b24 (diff) | |
download | gleam_stdlib-920b2694dcb4bd345489ff04e0b6dff2c4ebb397.tar.gz gleam_stdlib-920b2694dcb4bd345489ff04e0b6dff2c4ebb397.zip |
Update string.gleam
-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 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 /// ``` |