Skip to content

Commit

Permalink
Rollup merge of rust-lang#35001 - rdwilliamson:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix HashMap's values_mut example to use println!

Fix HashMap's values_mut example to use println!
  • Loading branch information
steveklabnik authored Jul 26, 2016
2 parents ae05e62 + ccc955c commit 905e35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/collections/hash/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ impl<K, V, S> HashMap<K, V, S>
/// }
///
/// for val in map.values() {
/// print!("{}", val);
/// println!("{}", val);
/// }
/// ```
#[stable(feature = "map_values_mut", since = "1.10.0")]
Expand Down

0 comments on commit 905e35f

Please sign in to comment.