We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ad4af commit 6a2a603Copy full SHA for 6a2a603
Cargo.toml
@@ -181,7 +181,6 @@ from_str_radix_10 = "allow"
181
get_first = "allow"
182
if_same_then_else = "allow"
183
large_enum_variant = "allow"
184
-let_and_return = "allow"
185
map_clone = "allow"
186
match_like_matches_macro = "allow"
187
match_single_binding = "allow"
crates/hir/src/semantics.rs
@@ -1008,9 +1008,7 @@ impl<'db> SemanticsImpl<'db> {
1008
// Update `source_ty` for the next adjustment
1009
let source = mem::replace(&mut source_ty, target.clone());
1010
1011
- let adjustment = Adjustment { source, target, kind };
1012
-
1013
- adjustment
+ Adjustment { source, target, kind }
1014
})
1015
.collect()
1016
0 commit comments