aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-03-20 20:54:04 +0000
committerKirill Bulatov <[email protected]>2021-03-20 20:55:34 +0000
commit879432452d15d4e9c373a6233a0cd15e22f20ef3 (patch)
tree918eb815d2da4758d00dfac387b805de6a771c11 /crates/hir_ty
parenta631108d2dd0596b079b59efa37b1af00d7555db (diff)
Docs
Diffstat (limited to 'crates/hir_ty')
-rw-r--r--crates/hir_ty/src/autoderef.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/hir_ty/src/autoderef.rs b/crates/hir_ty/src/autoderef.rs
index 0b8ac455b..23ab042c1 100644
--- a/crates/hir_ty/src/autoderef.rs
+++ b/crates/hir_ty/src/autoderef.rs
@@ -27,7 +27,6 @@ pub fn autoderef<'a>(
27 krate: Option<CrateId>, 27 krate: Option<CrateId>,
28 ty: InEnvironment<Canonical<Ty>>, 28 ty: InEnvironment<Canonical<Ty>>,
29) -> impl Iterator<Item = Canonical<Ty>> + 'a { 29) -> impl Iterator<Item = Canonical<Ty>> + 'a {
30 // from_chalk
31 let InEnvironment { value: ty, environment } = ty; 30 let InEnvironment { value: ty, environment } = ty;
32 successors(Some(ty), move |ty| { 31 successors(Some(ty), move |ty| {
33 deref(db, krate?, InEnvironment { value: ty, environment: environment.clone() }) 32 deref(db, krate?, InEnvironment { value: ty, environment: environment.clone() })