diff options
Diffstat (limited to 'crates/ra_hir')
-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, |