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 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 /// ``` |