Skip to content

Commit a955aba

Browse files
committed
Correct cfg for optional rand dependency
1 parent b24b2b9 commit a955aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

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

1616
#[cfg(all(test, feature = "unstable"))] extern crate test;
1717
#[cfg(feature = "heapsize")] extern crate heapsize;
18-
#[cfg(test)] extern crate rand;
18+
#[cfg(all(test, feature = "unstable"))] extern crate rand;
1919
#[macro_use] extern crate lazy_static;
2020
#[macro_use] extern crate debug_unreachable;
2121
extern crate phf_shared;

0 commit comments

Comments
 (0)