let_and_return

This commit is contained in:
Johann Hemmann 2024-01-19 14:08:05 +01:00
parent d8ad4afce8
commit 6a2a603a8c
2 changed files with 1 additions and 4 deletions

View file

@ -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"

View file

@ -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()
})