Skip to content

Commit

Permalink
Auto merge of #29830 - petrochenkov:mapdoc, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Nov 16, 2015
2 parents 94ec5f8 + 0bf67d6 commit 57c8a3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/libcollections/btree/map.rs
Expand Up @@ -319,8 +319,9 @@ impl<K: Ord, V> BTreeMap<K, V> {
///
/// If the map did not have this key present, `None` is returned.
///
/// If the map did have this key present, that value is returned, and the
/// entry is not updated. See the [module-level documentation] for more.
/// If the map did have this key present, the key is not updated, the
/// value is updated and the old value is returned.
/// See the [module-level documentation] for more.
///
/// [module-level documentation]: index.html#insert-and-complex-keys
///
Expand Down
5 changes: 3 additions & 2 deletions src/libstd/collections/hash/map.rs
Expand Up @@ -1108,8 +1108,9 @@ impl<K, V, S> HashMap<K, V, S>
///
/// If the map did not have this key present, `None` is returned.
///
/// If the map did have this key present, that value is returned, and the
/// entry is not updated. See the [module-level documentation] for more.
/// If the map did have this key present, the key is not updated, the
/// value is updated and the old value is returned.
/// See the [module-level documentation] for more.
///
/// [module-level documentation]: index.html#insert-and-complex-keys
///
Expand Down

0 comments on commit 57c8a3e

Please sign in to comment.