mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
let_and_return
This commit is contained in:
parent
d8ad4afce8
commit
6a2a603a8c
2 changed files with 1 additions and 4 deletions
|
@ -1008,9 +1008,7 @@ impl<'db> SemanticsImpl<'db> {
|
|||
// Update `source_ty` for the next adjustment
|
||||
let source = mem::replace(&mut source_ty, target.clone());
|
||||
|
||||
let adjustment = Adjustment { source, target, kind };
|
||||
|
||||
adjustment
|
||||
Adjustment { source, target, kind }
|
||||
})
|
||||
.collect()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue