aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/list.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam
index 9957e1a..c7aee2f 100644
--- a/src/gleam/list.gleam
+++ b/src/gleam/list.gleam
@@ -946,10 +946,10 @@ pub fn pop_map(
/// ## Examples
///
/// > key_pop([tuple("a", 0), tuple("b", 1)], "a")
-/// Ok(tuple(0, [tuple("b", 1))
+/// Ok(tuple(0, [tuple("b", 1)])
///
/// > key_pop([tuple("a", 0), tuple("b", 1)], "b")
-/// Ok(tuple(1, [tuple("a", 0))
+/// Ok(tuple(1, [tuple("a", 0)])
///
/// > key_pop([tuple("a", 0), tuple("b", 1)], "c")
/// Error(Nil)