Skip to content

Commit

Permalink
Move unchecked_duration_subtraction to pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexendoo authored and flip1995 committed Jan 19, 2023
1 parent 2bfba86 commit 11611b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/instant_subtraction.rs
Expand Up @@ -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'"
}

Expand Down

0 comments on commit 11611b0

Please sign in to comment.