What changed, and why it matters
This commit simply renames two Clippy lint settings in the project's configuration file to match updated Clippy lint names. It does not change any executable code, behavior, or security properties of the library.
No security action needed. This is a routine maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch updates two entries in Cargo.toml: ‘empty_enum’ becomes ‘empty_enums’ and ‘unchecked_duration_subtraction’ becomes ‘unchecked_time_subtraction’. These are purely cosmetic configuration changes to keep the lint list aligned with Clippy’s renamed lints. No Rust source code is modified, and no runtime behavior or API changes.
Changed components
Cargo.tomlInspect captured patch +2 / −2
diff --git a/Cargo.toml b/Cargo.toml
index 0033a4fa..35fc0214 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ copy_iterator = "warn"
default_trait_access = "warn"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
-empty_enum = "warn"
+empty_enums = "warn"
enum_glob_use = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
@@ -116,7 +116,7 @@ struct_field_names = "allow" # dumb
too_many_lines = "warn"
transmute_ptr_to_ptr = "warn"
trivially_copy_pass_by_ref = "warn"
-unchecked_duration_subtraction = "warn"
+unchecked_time_subtraction = "warn"
unicode_not_nfc = "warn"
uninlined_format_args = "allow" # This is a subjective style choice.
unnecessary_box_returns = "warn"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.