diff options
author | Kevin DeLorey <[email protected]> | 2020-02-11 16:04:30 +0000 |
---|---|---|
committer | Kevin DeLorey <[email protected]> | 2020-02-11 16:04:30 +0000 |
commit | 47d314e85681c075ff859e13343927e7406e1b46 (patch) | |
tree | e5c864418c92045be5ca7459479a54ff4bd5ad82 /crates/ra_assists | |
parent | e664cd73e3f91086dc765fb5ec74ebec2daa8ffa (diff) |
Fixing minor suggestions and added module level documentation.
Diffstat (limited to 'crates/ra_assists')
-rw-r--r-- | crates/ra_assists/src/utils.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_assists/src/utils.rs b/crates/ra_assists/src/utils.rs index 1280a4fdc..6ff44c95c 100644 --- a/crates/ra_assists/src/utils.rs +++ b/crates/ra_assists/src/utils.rs | |||
@@ -6,7 +6,6 @@ use ra_syntax::{ | |||
6 | }; | 6 | }; |
7 | 7 | ||
8 | use hir::db::HirDatabase; | 8 | use hir::db::HirDatabase; |
9 | |||
10 | use rustc_hash::FxHashSet; | 9 | use rustc_hash::FxHashSet; |
11 | 10 | ||
12 | pub fn get_missing_impl_items( | 11 | pub fn get_missing_impl_items( |
@@ -55,7 +54,7 @@ pub fn get_missing_impl_items( | |||
55 | .map(|n| !impl_fns_consts.contains(&n.to_string())) | 54 | .map(|n| !impl_fns_consts.contains(&n.to_string())) |
56 | .unwrap_or_default(), | 55 | .unwrap_or_default(), |
57 | }) | 56 | }) |
58 | .map(|i| i.clone()) | 57 | .cloned() |
59 | .collect() | 58 | .collect() |
60 | }) | 59 | }) |
61 | } | 60 | } |