Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir/src/lib.rs')
| -rw-r--r-- | crates/hir/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index ad1a9c9072..4beb7e9033 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -2101,7 +2101,7 @@ impl DefWithBody { } if let Ok(borrowck_results) = db.borrowck(id.into()) { - for borrowck_result in borrowck_results.iter() { + for borrowck_result in borrowck_results { let mir_body = borrowck_result.mir_body(db); for moof in &borrowck_result.moved_out_of_ref { let span: InFile<SyntaxNodePtr> = match moof.span { |