Use core replacements for std members
[rust-lightning] / lightning / src / util / errors.rs
index f67621c828ca521f4739d99ec5a54760310cb1a8..b47e134efab29524c220c7781bb2d610d72dbf2e 100644 (file)
@@ -9,7 +9,7 @@
 
 //! Error types live here.
 
-use std::fmt;
+use core::fmt;
 
 /// Indicates an error on the client's part (usually some variant of attempting to use too-low or
 /// too-high values)