projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use alloc for no_std builds
[rust-lightning]
/
lightning
/
src
/
util
/
chacha20.rs
diff --git
a/lightning/src/util/chacha20.rs
b/lightning/src/util/chacha20.rs
index e8c6e229c1c00129cc22ace046845c1d6b5e5922..69e4ed8d113d1cdb5a101a5fa1b60338a68d13be 100644
(file)
--- a/
lightning/src/util/chacha20.rs
+++ b/
lightning/src/util/chacha20.rs
@@
-318,6
+318,7
@@
impl<'a, R: io::Read> io::Read for ChaChaReader<'a, R> {
#[cfg(test)]
mod test {
+ use prelude::*;
use core::iter::repeat;
use super::ChaCha20;