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.
This commit is contained in:
Tobin C. Harding 2022-06-06 14:14:41 +10:00
parent 6461e2db8d
commit 65d19d9044
1 changed files with 4 additions and 3 deletions

View File

@ -50,9 +50,10 @@ compile_error!("at least one of the `std` or `no-std` features must be enabled")
// Disable 16-bit support at least for now as we can't guarantee it yet.
#[cfg(target_pointer_width = "16")]
compile_error!("rust-bitcoin currently only supports architectures with pointers wider
than 16 bits, let us know if you want 16-bit support. Note that we do
NOT guarantee that we will implement it!");
compile_error!(
"rust-bitcoin currently only supports architectures with pointers wider than 16 bits, let us
know if you want 16-bit support. Note that we do NOT guarantee that we will implement it!"
);
#[cfg(bench)] extern crate test;