X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Fchacha20.rs;h=c729e6847470e024858911793b9273592b0f7fb6;hb=d4ad826c6eb85ea91ec7aa2cd4545fa2139a4462;hp=3578fb36626f494053decf24c96d4633bdc412b8;hpb=7ac4c3bba006d7306eb860e0127be8478d49bb39;p=rust-lightning diff --git a/lightning/src/util/chacha20.rs b/lightning/src/util/chacha20.rs index 3578fb36..c729e684 100644 --- a/lightning/src/util/chacha20.rs +++ b/lightning/src/util/chacha20.rs @@ -9,7 +9,7 @@ // You may not use this file except in accordance with one or both of these // licenses. -use io; +use crate::io; #[cfg(not(fuzzing))] mod real_chacha { @@ -316,7 +316,7 @@ impl<'a, R: io::Read> io::Read for ChaChaReader<'a, R> { #[cfg(test)] mod test { - use prelude::*; + use crate::prelude::*; use core::iter::repeat; use super::ChaCha20;