about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/map.rs2
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;