Use core replacements for std members
[rust-lightning] / lightning / src / util / logger.rs
index 2cf0f13633661a5ae6eed6ed180ddc3978fdaa26..df2b7f704051958a1e8ddc63523108061c8cfb08 100644 (file)
@@ -14,8 +14,8 @@
 //! The second one, client-side by implementing check against Record Level field.
 //! Each module may have its own Logger or share one.
 
-use std::cmp;
-use std::fmt;
+use core::cmp;
+use core::fmt;
 
 static LOG_LEVEL_NAMES: [&'static str; 6] = ["OFF", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"];