Use core replacements for std members
[rust-lightning] / lightning / src / ln / onion_utils.rs
index 6d9118e21a8e38529e4ab5f93f8109c5b21a1363..07686a214e23c90c3e1166bca19580da55309777 100644 (file)
@@ -28,7 +28,7 @@ use bitcoin::secp256k1::ecdh::SharedSecret;
 use bitcoin::secp256k1;
 
 use std::io::Cursor;
-use std::ops::Deref;
+use core::ops::Deref;
 
 pub(super) struct OnionKeys {
        #[cfg(test)]