aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/infer
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-05-01 15:48:05 +0100
committerFlorian Diebold <[email protected]>2019-05-04 17:18:30 +0100
commit99492278ac8c8a9caf3981b4406dcac6724a6a93 (patch)
tree8ce60ceed908065c416d707942b2c4452ab8f0be /crates/ra_hir/src/ty/infer
parent6c3ee834d6452c5caa244c3c58504992de38baa4 (diff)
Implement Deref<Target=[Ty]> for Substs
Diffstat (limited to 'crates/ra_hir/src/ty/infer')
-rw-r--r--crates/ra_hir/src/ty/infer/unify.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/infer/unify.rs b/crates/ra_hir/src/ty/infer/unify.rs
index 7918b007b..5edb95c31 100644
--- a/crates/ra_hir/src/ty/infer/unify.rs
+++ b/crates/ra_hir/src/ty/infer/unify.rs
@@ -61,7 +61,6 @@ where
61 pub fn canonicalize_trait_ref(&mut self, trait_ref: TraitRef) -> Canonical<TraitRef> { 61 pub fn canonicalize_trait_ref(&mut self, trait_ref: TraitRef) -> Canonical<TraitRef> {
62 let substs = trait_ref 62 let substs = trait_ref
63 .substs 63 .substs
64 .0
65 .iter() 64 .iter()
66 .map(|ty| self.canonicalize_ty(ty.clone()).value) 65 .map(|ty| self.canonicalize_ty(ty.clone()).value)
67 .collect::<Vec<_>>(); 66 .collect::<Vec<_>>();