Remove stale macro_use attribute from address module declaration
What changed, and why it matters
This commit removes an unused compiler hint (`#[macro_use]`) from a module declaration. It is a routine code cleanup with no functional or security effect.
No security action required. Treat as normal maintenance cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch deletes the #[macro_use] attribute above pub mod address; in bitcoin/src/lib.rs. In modern Rust, #[macro_use] on a module declaration is only needed to import macros from that module into the crate root scope. The commit title explicitly calls this attribute ‘stale’, indicating it was no longer necessary. No code behavior changes; this is a non-functional refactor.
Changed components
bitcoin/src/lib.rs module declaration for `address`Inspect captured patch +0 / −1
diff --git a/bitcoin/src/lib.rs b/bitcoin/src/lib.rs
index b8a7c647..a146c3a6 100644
--- a/bitcoin/src/lib.rs
+++ b/bitcoin/src/lib.rs
@@ -107,7 +107,6 @@ pub mod ext {
#[cfg(feature = "bitcoinconsensus")]
pub use crate::consensus_validation::{ScriptPubKeyExt as _, TransactionExt as _};
}
-#[macro_use]
pub mod address;
pub mod bip158;
pub mod bip32;
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.