Fix HashMap's values_mut example to use println!

This commit is contained in:
Robert Williamson
2016-07-23 16:13:25 -06:00
committed by GitHub
parent 2c50f4e484
commit ccc955c84c
+1 -1
View File
@@ -877,7 +877,7 @@ pub fn values(&self) -> Values<K, V> {
/// }
///
/// for val in map.values() {
/// print!("{}", val);
/// println!("{}", val);
/// }
/// ```
#[stable(feature = "map_values_mut", since = "1.10.0")]