aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/map.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/map.gleam b/src/gleam/map.gleam
index f0a7f5d..8f8ca12 100644
--- a/src/gleam/map.gleam
+++ b/src/gleam/map.gleam
@@ -437,10 +437,10 @@ pub fn drop(from map: Map(k, v), drop disallowed_keys: List(k)) -> Map(k, v) {
/// > }
/// > let map = from_list([#("a", 0)])
/// >
-/// > update(map, "a" increment)
+/// > update(map, "a", increment)
/// from_list([#("a", 1)])
///
-/// > update(map, "b" increment)
+/// > update(map, "b", increment)
/// from_list([#("a", 0), #("b", 0)])
///
pub fn update(