diff options
author | Martin Janiczek <martin@janiczek.cz> | 2022-02-06 00:54:26 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-02-06 19:34:56 +0000 |
commit | d0de52e91d7c6b75a4cafc7d45afa486f87aaca3 (patch) | |
tree | 875e784a285e716b2548972af08167b9d66b2a5d | |
parent | 21e6cb9312060b84bb3e8a26ebe4fa6a4e951246 (diff) | |
download | gleam_stdlib-d0de52e91d7c6b75a4cafc7d45afa486f87aaca3.tar.gz gleam_stdlib-d0de52e91d7c6b75a4cafc7d45afa486f87aaca3.zip |
Fix forgotten comma in map.update documentation
-rw-r--r-- | src/gleam/map.gleam | 4 |
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( |