What changed, and why it matters
This change only adds a Clippy lint warning in the benchmark crate's configuration. It tells the Rust linter to warn when code could use `Self` instead of repeating the type name. It does not change any executable code, fix any bug, or affect the library's behavior or security.
No action needed; this is a benign lint configuration change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit adds [lints.clippy] use_self = "warn" to benches/Cargo.toml. This is a static-analysis lint configuration for benchmark code only. It has no runtime effect and no security relevance.
Changed components
benches/Cargo.tomlInspect captured patch +3 / −0
diff --git a/benches/Cargo.toml b/benches/Cargo.toml
index aacc2f20..4836e2b8 100644
--- a/benches/Cargo.toml
+++ b/benches/Cargo.toml
@@ -13,6 +13,9 @@ chacha20-poly1305 = { path = "../chacha20_poly1305" }
criterion = "0.7"
hex_lit = "0.1.1"
+[lints.clippy]
+use_self = "warn"
+
[[bench]]
name = "block"
path = "bitcoin/block.rs"
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.