Use core replacements for std members
[rust-lightning] / lightning / src / util / events.rs
index 599ed2afa68c0b7d2363904959a6daadb9a72c10..b7b8bf3137b8ea44d6d667842c3b2473b7a8790e 100644 (file)
@@ -23,7 +23,7 @@ use bitcoin::blockdata::script::Script;
 
 use bitcoin::secp256k1::key::PublicKey;
 
-use std::time::Duration;
+use core::time::Duration;
 
 /// An Event which you should probably take some action in response to.
 ///