What changed, and why it matters
This commit simply removes a duplicate compiler warning-suppression directive from a Rust source file. The same suppression is already set in the project's shared configuration file, so the change has no functional effect and no security relevance.
No security action required. Treat as routine maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff deletes a single #![allow(clippy::uninlined_format_args)] attribute from units/src/lib.rs because the lint is already allowed in the workspace Cargo.toml lint table (the ‘repo manifest’). This is a code-cleanup change; it does not alter compilation behavior, runtime behavior, or the set of warnings emitted.
Changed components
units/src/lib.rsInspect captured patch +0 / −2
diff --git a/units/src/lib.rs b/units/src/lib.rs
index 4cb6bae0..1dee71a5 100644
--- a/units/src/lib.rs
+++ b/units/src/lib.rs
@@ -23,8 +23,6 @@
#![warn(missing_docs)]
#![warn(deprecated_in_future)]
#![doc(test(attr(warn(unused))))]
-// Exclude lints we don't think are valuable.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
// Extra restriction lints.
#![warn(clippy::indexing_slicing)] // Avoid implicit panics from indexing/slicing.
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.