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 65d2f2a commit d6f565bCopy full SHA for d6f565b
src/tools/clippy/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