Move unchecked_duration_subtraction to pedantic

This commit is contained in:
Alex Macleod 2023-01-13 00:04:28 +00:00 committed by Philipp Krones
parent 65d2f2a5f9
commit d6f565b157
No known key found for this signature in database
GPG Key ID: 1CA0DF2AF59D68A5

View File

@ -61,7 +61,7 @@ declare_clippy_lint! {
/// [`Instant::now()`]: std::time::Instant::now;
#[clippy::version = "1.65.0"]
pub UNCHECKED_DURATION_SUBTRACTION,
suspicious,
pedantic,
"finds unchecked subtraction of a 'Duration' from an 'Instant'"
}