Skip to content

Commit f8a41f3

Browse files
committed
wip
1 parent bd556d1 commit f8a41f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ assert_eq!(variant, Variant::Bech32);
6060
#[cfg(all(not(feature = "std"), not(test)))]
6161
extern crate alloc;
6262

63+
#[cfg(any(test, feature = "std"))]
64+
extern crate core;
65+
6366
#[cfg(all(not(feature = "std"), not(test)))]
6467
use alloc::{string::String, vec::Vec};
6568

@@ -68,10 +71,7 @@ use alloc::borrow::Cow;
6871
#[cfg(any(feature = "std", test))]
6972
use std::borrow::Cow;
7073

71-
#[cfg(all(not(feature = "std"), not(test)))]
7274
use core::{fmt, mem};
73-
#[cfg(any(feature = "std", test))]
74-
use std::{fmt, mem};
7575

7676
/// Integer in the range `0..32`
7777
#[derive(PartialEq, Eq, Debug, Copy, Clone, Default, PartialOrd, Ord, Hash)]

0 commit comments

Comments
 (0)