Skip to content

Commit db4b3d2

Browse files
committed
question_mark: Fix applicability
1 parent 327fede commit db4b3d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/question_mark.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl Pass {
9797
expr.span,
9898
"replace_it_with",
9999
format!("{}?;", receiver_str),
100-
Applicability::MachineApplicable, // snippet
100+
Applicability::MaybeIncorrect, // snippet
101101
);
102102
}
103103
)

0 commit comments

Comments
 (0)