Skip to content

Commit fa2e6e0

Browse files
committed
fix obsolete comment
1 parent db43080 commit fa2e6e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ra_hir/src/ty/method_resolution.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ impl Ty {
136136
})
137137
}
138138

139-
// This would be nicer if it just returned an iterator, but that's really
140-
// complicated with all the cancelable operations
139+
// This would be nicer if it just returned an iterator, but that runs into
140+
// lifetime problems, because we need to borrow temp `CrateImplBlocks`.
141141
pub fn iterate_methods<T>(
142142
self,
143143
db: &impl HirDatabase,

0 commit comments

Comments
 (0)