Use alloc for no_std builds
[rust-lightning] / lightning / src / util / ser_macros.rs
index 87f990a6f0677ee1f2a12735d0d8176ecf3af4d9..8729018935c944b10a24acefa24e52bf8debbf49 100644 (file)
@@ -277,6 +277,7 @@ macro_rules! read_tlv_fields {
 
 #[cfg(test)]
 mod tests {
+       use prelude::*;
        use std::io::{Cursor, Read};
        use ln::msgs::DecodeError;
        use util::ser::{Readable, Writeable, HighZeroBytesDroppedVarInt, VecWriter};