What changed, and why it matters
This commit is purely a code-style change. It tells the automatic formatter (rustfmt) to leave a macro call on one long line instead of spreading it across multiple lines. There is no functional change to the Bitcoin library and no security relevance.
No action required; this is a cosmetic formatting commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds #[rustfmt::skip] to a single internal_macros::impl_consensus_encoding! invocation in bitcoin/src/blockdata/block.rs, collapsing a multi-line macro call into one line. No logic, types, visibility, or behavior is altered.
Changed components
bitcoin/src/blockdata/block.rs (formatting only)Inspect captured patch +2 / −9
diff --git a/bitcoin/src/blockdata/block.rs b/bitcoin/src/blockdata/block.rs
index 263f845f..a4f5b4cd 100644
--- a/bitcoin/src/blockdata/block.rs
+++ b/bitcoin/src/blockdata/block.rs
@@ -41,15 +41,8 @@ pub type BlockInterval = BlockHeightInterval;
internal_macros::impl_hashencode!(BlockHash);
-internal_macros::impl_consensus_encoding!(
- Header,
- version,
- prev_blockhash,
- merkle_root,
- time,
- bits,
- nonce
-);
+#[rustfmt::skip]
+internal_macros::impl_consensus_encoding!(Header, version, prev_blockhash, merkle_root, time, bits, nonce);
internal_macros::define_extension_trait! {
/// Extension functionality for the [`Header`] type.
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.