mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Fix HashMap's values_mut example to use println!
This commit is contained in:
committed by
GitHub
parent
2c50f4e484
commit
ccc955c84c
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user