Skip to content

Commit

Permalink
Fix HashMap's values_mut example to use println!
Browse files Browse the repository at this point in the history
  • Loading branch information
rdwilliamson committed Jul 23, 2016
1 parent 2c50f4e commit ccc955c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/collections/hash/map.rs
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 ccc955c

Please sign in to comment.