From 5910773c2ea12fbf92a3d6b170299c74015d0882 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 b6c7c8be5a92..e4f38496f1dd 100644 --- a/src/libstd/map.rs +++ b/src/libstd/map.rs @@ -54,7 +54,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;