Move unchecked_duration_subtraction
to pedantic
This commit is contained in:
parent
2bfba8685d
commit
11611b0440
1 changed files with 1 additions and 1 deletions
|
@ -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'"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue