From d0de52e91d7c6b75a4cafc7d45afa486f87aaca3 Mon Sep 17 00:00:00 2001 From: Martin Janiczek Date: Sun, 6 Feb 2022 00:54:26 +0100 Subject: Fix forgotten comma in map.update documentation --- src/gleam/map.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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( -- cgit v1.2.3