Apply the reorder_imports formatting rule
What changed, and why it matters
This commit is a purely cosmetic code-formatting change. It reorders three import statements in a single Rust source file so they appear alphabetically, with no functional effect on the program.
No action required. This is a formatting-only change with no security relevance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff in bitcoin/src/lib.rs moves pub extern crate base58; above pub extern crate base64; and removes the conditional block guard from around base58 (it was previously placed inside the base64 feature guard by mistake in the original ordering). The actual conditional #[cfg(feature = "base64")] remains correctly attached only to base64. This is a rustfmt reorder_imports style fix; no code behavior changes.
Changed components
bitcoin/src/lib.rsInspect captured patch +1 / −1
diff --git a/bitcoin/src/lib.rs b/bitcoin/src/lib.rs
index 19ad1b87..b8a7c647 100644
--- a/bitcoin/src/lib.rs
+++ b/bitcoin/src/lib.rs
@@ -62,9 +62,9 @@ extern crate std;
#[cfg(feature = "arbitrary")]
pub extern crate arbitrary;
+pub extern crate base58;
#[cfg(feature = "base64")]
pub extern crate base64;
-pub extern crate base58;
pub extern crate bech32;
pub extern crate encoding;
pub extern crate hashes;
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.