diff options
author | Aleksey Kladov <[email protected]> | 2019-02-12 10:29:27 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-12 10:29:27 +0000 |
commit | fa2e6e0bda280004d7dd26b9edb0f9322552701d (patch) | |
tree | 2302911f549c58695da38400ca9c146f80f49b3d /crates/ra_hir/src/ty | |
parent | db43080693dbef6f9adfca0ef818a6fe7016c94a (diff) |
fix obsolete comment
Diffstat (limited to 'crates/ra_hir/src/ty')
-rw-r--r-- | crates/ra_hir/src/ty/method_resolution.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index da7587f01..9eda0092e 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs | |||
@@ -136,8 +136,8 @@ impl Ty { | |||
136 | }) | 136 | }) |
137 | } | 137 | } |
138 | 138 | ||
139 | // This would be nicer if it just returned an iterator, but that's really | 139 | // This would be nicer if it just returned an iterator, but that runs into |
140 | // complicated with all the cancelable operations | 140 | // lifetime problems, because we need to borrow temp `CrateImplBlocks`. |
141 | pub fn iterate_methods<T>( | 141 | pub fn iterate_methods<T>( |
142 | self, | 142 | self, |
143 | db: &impl HirDatabase, | 143 | db: &impl HirDatabase, |