Skip to content

Commit d800a1b

Browse files
committed
fixup! rustfmt
1 parent 3bbd61d commit d800a1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/ide_assists/src/handlers/replace_turbofish_with_explicit_type.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ pub(crate) fn replace_turbofish_with_explicit_type(
3535
let initializer = let_stmt.initializer()?;
3636

3737
let generic_args = match &initializer {
38-
Expr::MethodCallExpr(ce) => {
39-
ce.generic_arg_list()?
40-
}
38+
Expr::MethodCallExpr(ce) => ce.generic_arg_list()?,
4139
Expr::CallExpr(ce) => {
4240
if let Expr::PathExpr(pe) = ce.expr()? {
4341
pe.path()?.segment()?.generic_arg_list()?

0 commit comments

Comments
 (0)