diff options
| author | Ben Alpert <spicyjalapeno@gmail.com> | 2012-12-28 14:57:42 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-12-28 14:04:43 -0800 |
| commit | 5910773c2ea12fbf92a3d6b170299c74015d0882 (patch) | |
| tree | d2598eaf588823106b70da50db57679533f1ef56 /src/libstd/map.rs | |
| parent | dda12f8ef6916d4b70fb73ba6e1b81391cc874f3 (diff) | |
| download | rust-5910773c2ea12fbf92a3d6b170299c74015d0882.tar.gz rust-5910773c2ea12fbf92a3d6b170299c74015d0882.zip | |
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.
Diffstat (limited to 'src/libstd/map.rs')
| -rw-r--r-- | src/libstd/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/map.rs b/src/libstd/map.rs index b6c7c8be5a9..e4f38496f1d 100644 --- a/src/libstd/map.rs +++ b/src/libstd/map.rs @@ -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; |
