Skip to content

Commit a747765

Browse files
committed
fix them properly this time...
1 parent 566019e commit a747765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/iter_over_hash_type.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ declare_clippy_lint! {
1919
///
2020
/// ### Example
2121
/// ```no_run
22-
/// let my_map = Hashmap::<i32, String>::new();
22+
/// let my_map = std::collections::HashMap::<i32, String>::new();
2323
/// for (key, value) in my_map { /* ... */ }
2424
/// ```
2525
/// Use instead:
2626
/// ```no_run
27-
/// let my_map = Hashmap::<i32, String>::new();
27+
/// let my_map = std::collections::HashMap::<i32, String>::new();
2828
/// let mut keys = my_map.keys().clone().collect::<Vec<_>();
2929
/// keys.sort();
3030
/// for key in keys {

0 commit comments

Comments
 (0)