Collect all lightning std::sync imports under crate::sync
[rust-lightning] / lightning / src / chain / chainmonitor.rs
index a3365f2b64fd58302eef8e292961e53384743896..12bfebbc4aeee8941b6ad4734cd1f539f8816360 100644 (file)
@@ -38,8 +38,7 @@ use util::events;
 use util::events::EventHandler;
 
 use prelude::*;
-use std::collections::{HashMap, hash_map};
-use std::sync::RwLock;
+use sync::RwLock;
 use core::ops::Deref;
 
 /// An implementation of [`chain::Watch`] for monitoring channels.