We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unchecked_duration_subtraction
1 parent 2bfba86 commit 11611b0Copy full SHA for 11611b0
clippy_lints/src/instant_subtraction.rs
@@ -61,7 +61,7 @@ declare_clippy_lint! {
61
/// [`Instant::now()`]: std::time::Instant::now;
62
#[clippy::version = "1.65.0"]
63
pub UNCHECKED_DURATION_SUBTRACTION,
64
- suspicious,
+ pedantic,
65
"finds unchecked subtraction of a 'Duration' from an 'Instant'"
66
}
67
0 commit comments