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.
This commit is contained in:
Ben Alpert 2012-12-28 14:57:42 -07:00 committed by Tim Chevalier
parent dda12f8ef6
commit 5910773c2e

View file

@ -54,7 +54,7 @@ pub trait Map<K:Eq IterBytes Hash Copy, V: Copy> {
* 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;