diff options
author | Kirill Bulatov <[email protected]> | 2021-03-20 20:54:04 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-03-20 20:55:34 +0000 |
commit | 879432452d15d4e9c373a6233a0cd15e22f20ef3 (patch) | |
tree | 918eb815d2da4758d00dfac387b805de6a771c11 /crates/hir_ty | |
parent | a631108d2dd0596b079b59efa37b1af00d7555db (diff) |
Docs
Diffstat (limited to 'crates/hir_ty')
-rw-r--r-- | crates/hir_ty/src/autoderef.rs | 1 |
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() }) |