fix: vec! macro enabled only for test module

This commit is contained in:
Chris Hyunhum Cho 2024-08-26 04:44:01 -07:00 committed by GitHub
parent a050618fd8
commit 441aac0a08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
#[macro_use]
extern crate alloc;
#[cfg(bench)]
@ -248,6 +247,7 @@ where
#[cfg(test)]
mod tests {
use alloc::vec;
use hex::test_hex_unwrap as hex;
use super::*;