Skip to content

Commit 128dcd4

Browse files
committed
update applicability
1 parent 261ae2e commit 128dcd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/unnecessary_map_or.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub(super) fn check(
9999
&format!("`map_or` is redundant, use {method} instead"),
100100
"try",
101101
sugg,
102-
Applicability::Unspecified,
102+
Applicability::MachineApplicable,
103103
);
104104
}
105105
}

0 commit comments

Comments
 (0)