base: Use the locks from our common crate.

master
Damir Jelić 2020-05-13 10:03:41 +02:00
parent 9b38033cec
commit 66620ab99a
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
// limitations under the License. // limitations under the License.
use std::sync::Arc; use std::sync::Arc;
use tokio::sync::RwLock; use matrix_sdk_common::locks::RwLock;
use crate::events::{ use crate::events::{
fully_read::FullyReadEvent, fully_read::FullyReadEvent,
@ -60,7 +60,7 @@ pub type SyncRoom = RoomState<Arc<RwLock<Room>>>;
/// # }, /// # },
/// # EventEmitter, SyncRoom /// # EventEmitter, SyncRoom
/// # }; /// # };
/// use tokio::sync::RwLock; /// # use matrix_sdk_common::locks::RwLock;
/// ///
/// struct EventCallback; /// struct EventCallback;
/// ///