Skip to content

Commit c61da08

Browse files
authored
Rollup merge of rust-lang#35001 - rdwilliamson:patch-1, r=alexcrichton
Fix HashMap's values_mut example to use println! Fix HashMap's values_mut example to use println!
2 parents 8c810ef + ccc955c commit c61da08

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/collections/hash

1 file changed

+1
-1
lines changed

src/libstd/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ impl<K, V, S> HashMap<K, V, S>
877877
/// }
878878
///
879879
/// for val in map.values() {
880-
/// print!("{}", val);
880+
/// println!("{}", val);
881881
/// }
882882
/// ```
883883
#[stable(feature = "map_values_mut", since = "1.10.0")]

0 commit comments

Comments
 (0)