about summary refs log tree commit diff
path: root/src/libstd/collections/hash
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-07-26 17:21:13 -0400
committerGitHub <noreply@github.com>2016-07-26 17:21:13 -0400
commit905e35f30b70776dd6360c5c03c5608286c46636 (patch)
tree94174dbf0d80fdc723b90486fcf6611fb797bea5 /src/libstd/collections/hash
parentae05e62ede83a8bfa8f71b348a340bc89a02b16a (diff)
parentccc955c84c3edb1aab58a5e6afe08cc1f57b7697 (diff)
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!
Diffstat (limited to 'src/libstd/collections/hash')
-rw-r--r--src/libstd/collections/hash/map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs
index dcf6163c6d7..fd7b0a2e6bb 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -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")]