← Watch feed
hashes: Remove uneeded wildcard import
What changed, and why it matters
This commit removes an unused wildcard import in a test module. It is a minor code cleanup with no security relevance.
Recommended action
No action needed. This is a routine lint/cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change deletes use super::*; from the test module in hashes/src/lib.rs, keeping only the explicit use crate::sha256d;. The wildcard import was reportedly flagged by Clippy and is not needed. There is no functional or security change.
Changed components
hashes/src/lib.rs test moduleInspect captured patch +0 / −1
diff --git a/hashes/src/lib.rs b/hashes/src/lib.rs
index 4e519fee..1ec86ffd 100644
--- a/hashes/src/lib.rs
+++ b/hashes/src/lib.rs
@@ -275,7 +275,6 @@ pub fn debug_hex(bytes: &[u8], f: &mut fmt::Formatter) -> fmt::Result {
#[cfg(test)]
mod tests {
- use super::*;
use crate::sha256d;
hash_newtype! {
Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.