Auto merge of #10194 - Alexendoo:unchecked-duration-subtraction-pedantic, r=Jarcho
Move `unchecked_duration_subtraction` to pedantic changelog: [`unchecked_duration_subtraction`]: Move to pedantic Based on https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/Meeting.202023-01-10/near/320488860
This commit is contained in:
commit
97fb130fb2
@ -61,7 +61,7 @@
|
||||
/// [`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…
Reference in New Issue
Block a user