Skip to content

Commit 2879cc3

Browse files
committed
Refactor compile_error message
In preparation for enabling rustfmt on `lib.rs` refactor the `compile_error` call so that the formatter does not touch it.
1 parent 1fbbabf commit 2879cc3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ compile_error!("at least one of the `std` or `no-std` features must be enabled")
5050

5151
// Disable 16-bit support at least for now as we can't guarantee it yet.
5252
#[cfg(target_pointer_width = "16")]
53-
compile_error!("rust-bitcoin currently only supports architectures with pointers wider
54-
than 16 bits, let us know if you want 16-bit support. Note that we do
55-
NOT guarantee that we will implement it!");
53+
compile_error!(
54+
"rust-bitcoin currently only supports architectures with pointers wider than 16 bits, let us
55+
know if you want 16-bit support. Note that we do NOT guarantee that we will implement it!"
56+
);
5657

5758
#[cfg(bench)] extern crate test;
5859

0 commit comments

Comments
 (0)