mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-20 07:58:44 +00:00
Fix formatting
This commit is contained in:
parent
e5c9073f9c
commit
95cc500e9d
1 changed files with 7 additions and 6 deletions
|
@ -533,7 +533,8 @@ fn check_wild_err_arm(cx: &LateContext<'_, '_>, ex: &Expr<'_>, arms: &[Arm<'_>])
|
||||||
&format!("`Err({})` will match all errors, maybe not a good idea", &ident_bind_name),
|
&format!("`Err({})` will match all errors, maybe not a good idea", &ident_bind_name),
|
||||||
arm.pat.span,
|
arm.pat.span,
|
||||||
"to remove this warning, match each error separately \
|
"to remove this warning, match each error separately \
|
||||||
or use `unreachable!` macro");
|
or use `unreachable!` macro"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue