aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-06-02 14:06:12 +0100
committerLouis Pilfold <louis@lpil.uk>2024-06-02 14:06:12 +0100
commitd2ed555a99239ead90c6366adc87b720bc5b1916 (patch)
tree6b0945b057ac0e037e27235839caef779e2c62c2
parent2b7fb94ed5094d457ef470a2016caea851e78f31 (diff)
downloadgleam_stdlib-d2ed555a99239ead90c6366adc87b720bc5b1916.tar.gz
gleam_stdlib-d2ed555a99239ead90c6366adc87b720bc5b1916.zip
Remove doc
-rw-r--r--src/gleam/dict.gleam7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gleam/dict.gleam b/src/gleam/dict.gleam
index 270efb5..205f5de 100644
--- a/src/gleam/dict.gleam
+++ b/src/gleam/dict.gleam
@@ -474,12 +474,7 @@ pub fn upsert(
|> insert(dict, key, _)
}
-/// This function with this signature is deprecated.
-///
-/// In future this fuction will return an `Ok(Dict)` if the given key existed and
-/// thus could be updated in the `Dict` or an an `Error(Nil)` if the key was not found.
-///
-@deprecated("Use `upsert` instead")
+@deprecated("This function has been renamed to `upsert`")
pub fn update(
in dict: Dict(k, v),
update key: k,