From 314e6786b46623c90b407cf33c56a5cc40781148 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 2 Dec 2022 14:44:31 +1100 Subject: [PATCH] crypto: Add rustfmt::skip attributes In preparation for formatting the `crypto` module add a couple of `skip` attributes to keep arrays formatted 8 bytes per line. --- bitcoin/src/crypto/key.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitcoin/src/crypto/key.rs b/bitcoin/src/crypto/key.rs index e1646864..4c7158da 100644 --- a/bitcoin/src/crypto/key.rs +++ b/bitcoin/src/crypto/key.rs @@ -835,6 +835,7 @@ mod tests { 9b6347398505f5ec93826dc61c19f47c66c0283ee9be980e29ce325a0f4679ef\ 87288ed73ce47fc4f5c79d19ebfa57da7cff3aff6e819e4ee971d86b5e61875d\ "; + #[rustfmt::skip] static PK_BYTES: [u8; 33] = [ 0x03, 0x9b, 0x63, 0x47, 0x39, 0x85, 0x05, 0xf5, 0xec, @@ -842,6 +843,7 @@ mod tests { 0x66, 0xc0, 0x28, 0x3e, 0xe9, 0xbe, 0x98, 0x0e, 0x29, 0xce, 0x32, 0x5a, 0x0f, 0x46, 0x79, 0xef, ]; + #[rustfmt::skip] static PK_BYTES_U: [u8; 65] = [ 0x04, 0x9b, 0x63, 0x47, 0x39, 0x85, 0x05, 0xf5, 0xec,