Skip to content

Commit 401fb09

Browse files
committed
Import the macro from alloc instead of std when std is unavailable
1 parent edab5b2 commit 401fb09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222

2323
#[cfg(not(feature = "std"))]
24-
#[cfg_attr(test, macro_use)]
24+
#[macro_use]
2525
extern crate alloc;
2626

2727
#[cfg(not(feature = "std"))]

0 commit comments

Comments
 (0)