Skip to content

Commit 12d2136

Browse files
authored
Rollup merge of #107065 - flip1995:clippyup, r=Manishearth
Clippy: Make sure to include in beta: Move `unchecked_duration_subtraction` to pedantic This was merged one day too late in order to make it into the last sync. But since we talked about moving this lint to `pedantic` in the meeting, I'd like to get this in rather sooner than later. rust-lang/rust-clippy#10194 r? ``@Manishearth``
2 parents da7a0c0 + d6f565b commit 12d2136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/clippy/clippy_lints/src/instant_subtraction.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ declare_clippy_lint! {
6161
/// [`Instant::now()`]: std::time::Instant::now;
6262
#[clippy::version = "1.65.0"]
6363
pub UNCHECKED_DURATION_SUBTRACTION,
64-
suspicious,
64+
pedantic,
6565
"finds unchecked subtraction of a 'Duration' from an 'Instant'"
6666
}
6767

0 commit comments

Comments
 (0)