Rollup merge of #35001 - rdwilliamson:patch-1, r=alexcrichton

Fix HashMap's values_mut example to use println!

Fix HashMap's values_mut example to use println!
This commit is contained in:
Steve Klabnik 2016-07-26 17:21:13 -04:00 committed by GitHub
commit 905e35f30b

View File

@ -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")]