diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-06 21:11:24 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-06 21:11:24 +0000 |
commit | a69ee774ca39f1300bd9dd7eb34b632db9098e26 (patch) | |
tree | 9da7f488f6564ac7f84d54ae9fc7296bcf2460e4 /crates/ra_hir/src/ty | |
parent | c1e10a24fa3ba2b03a738afd8e1f7f472a12e29f (diff) | |
parent | 6753051a45e067fb8267f7ecbbf1b894558718d1 (diff) |
Merge #754
754: Some clippy things r=matklad a=kjeremy
Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty')
-rw-r--r-- | crates/ra_hir/src/ty/method_resolution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index 2282286b0..a7d4517ee 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs | |||
@@ -113,7 +113,7 @@ impl CrateImplBlocks { | |||
113 | krate: Crate, | 113 | krate: Crate, |
114 | ) -> Arc<CrateImplBlocks> { | 114 | ) -> Arc<CrateImplBlocks> { |
115 | let mut crate_impl_blocks = CrateImplBlocks { | 115 | let mut crate_impl_blocks = CrateImplBlocks { |
116 | krate: krate.clone(), | 116 | krate, |
117 | impls: FxHashMap::default(), | 117 | impls: FxHashMap::default(), |
118 | impls_by_trait: FxHashMap::default(), | 118 | impls_by_trait: FxHashMap::default(), |
119 | }; | 119 | }; |