Skip to content

Commit 97fb130

Browse files
committed
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
2 parents 7f27e2e + 295225e commit 97fb130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/instant_subtraction.rs

Lines changed: 1 addition & 1 deletion
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)