Skip to content

Commit d6f565b

Browse files
Alexendooflip1995
authored andcommitted
Move unchecked_duration_subtraction to pedantic
1 parent 65d2f2a commit d6f565b

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)