let_and_return
This commit is contained in:
parent
d8ad4afce8
commit
6a2a603a8c
@ -181,7 +181,6 @@ from_str_radix_10 = "allow"
|
||||
get_first = "allow"
|
||||
if_same_then_else = "allow"
|
||||
large_enum_variant = "allow"
|
||||
let_and_return = "allow"
|
||||
map_clone = "allow"
|
||||
match_like_matches_macro = "allow"
|
||||
match_single_binding = "allow"
|
||||
|
@ -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…
x
Reference in New Issue
Block a user