aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src
diff options
context:
space:
mode:
authorJeremy Kolb <[email protected]>2020-07-19 19:26:24 +0100
committerJeremy Kolb <[email protected]>2020-07-19 19:26:24 +0100
commit17f4d27f1285a76961b2e3957dc192de8e4f179f (patch)
tree21508e1ebdc068b74f7bb12006bd66495916f84b /crates/ra_hir_ty/src
parent09fab42d39e69c94a4a4b7f5ae5ad10005290bf2 (diff)
Minor perf tweaks per clippy
Diffstat (limited to 'crates/ra_hir_ty/src')
-rw-r--r--crates/ra_hir_ty/src/lower.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/lower.rs b/crates/ra_hir_ty/src/lower.rs
index f274579ea..1eacc6f95 100644
--- a/crates/ra_hir_ty/src/lower.rs
+++ b/crates/ra_hir_ty/src/lower.rs
@@ -341,7 +341,7 @@ impl Ty {
341 let segment = remaining_segments.first().unwrap(); 341 let segment = remaining_segments.first().unwrap();
342 let found = associated_type_by_name_including_super_traits( 342 let found = associated_type_by_name_including_super_traits(
343 ctx.db, 343 ctx.db,
344 trait_ref.clone(), 344 trait_ref,
345 &segment.name, 345 &segment.name,
346 ); 346 );
347 match found { 347 match found {