Skip to content

Commit

Permalink
fix: vec! macro enabled only for test module
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCho-H authored Aug 26, 2024
1 parent a050618 commit 441aac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base58/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -248,6 +247,7 @@ where

#[cfg(test)]
mod tests {
use alloc::vec;
use hex::test_hex_unwrap as hex;

use super::*;
Expand Down

0 comments on commit 441aac0

Please sign in to comment.