Move unchecked_duration_subtraction
to pedantic
This commit is contained in:
parent
65d2f2a5f9
commit
d6f565b157
@ -61,7 +61,7 @@
|
|||||||
/// [`Instant::now()`]: std::time::Instant::now;
|
/// [`Instant::now()`]: std::time::Instant::now;
|
||||||
#[clippy::version = "1.65.0"]
|
#[clippy::version = "1.65.0"]
|
||||||
pub UNCHECKED_DURATION_SUBTRACTION,
|
pub UNCHECKED_DURATION_SUBTRACTION,
|
||||||
suspicious,
|
pedantic,
|
||||||
"finds unchecked subtraction of a 'Duration' from an 'Instant'"
|
"finds unchecked subtraction of a 'Duration' from an 'Instant'"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user