From d2ed555a99239ead90c6366adc87b720bc5b1916 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sun, 2 Jun 2024 14:06:12 +0100 Subject: Remove doc --- src/gleam/dict.gleam | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') 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, -- cgit v1.2.3