From d0c206b5e3bbd7ec6e32923929419383f6ed35b6 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Fri, 28 Dec 2012 14:57:42 -0700 Subject: [PATCH] doc: Rename mention of insert_or_update_with_key As far as I can tell, these docs were meant to refer to update_with_key. --- src/libstd/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/map.rs b/src/libstd/map.rs index 39124dfbfbae2..320d4469cef49 100644 --- a/src/libstd/map.rs +++ b/src/libstd/map.rs @@ -51,7 +51,7 @@ pub trait Map { * Add a value to the map. * * If the map contains a value for the key, use the function to - * set a new value. (Like `insert_or_update_with_key`, but with a + * set a new value. (Like `update_with_key`, but with a * function of only values.) */ fn update(key: K, newval: V, ff: fn(V, V) -> V) -> bool;