fix: remove (redundant) semicolon in lint suggestion
This commit is contained in:
parent
62ab4fb9c2
commit
862ac29192
3 changed files with 9 additions and 9 deletions
|
|
@ -174,7 +174,7 @@ fn print_unchecked_duration_subtraction_sugg(
|
|||
expr.span,
|
||||
"unchecked subtraction of a 'Duration' from an 'Instant'",
|
||||
"try",
|
||||
format!("{left_expr}.checked_sub({right_expr}).unwrap();"),
|
||||
format!("{left_expr}.checked_sub({right_expr}).unwrap()"),
|
||||
applicability,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue