From 66620ab99a9dde7101e8975cdeefe1a976e82cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 13 May 2020 10:03:41 +0200 Subject: [PATCH] base: Use the locks from our common crate. --- matrix_sdk_base/src/event_emitter/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_sdk_base/src/event_emitter/mod.rs b/matrix_sdk_base/src/event_emitter/mod.rs index 5c3a55b0..fd48be8b 100644 --- a/matrix_sdk_base/src/event_emitter/mod.rs +++ b/matrix_sdk_base/src/event_emitter/mod.rs @@ -14,7 +14,7 @@ // limitations under the License. use std::sync::Arc; -use tokio::sync::RwLock; +use matrix_sdk_common::locks::RwLock; use crate::events::{ fully_read::FullyReadEvent, @@ -60,7 +60,7 @@ pub type SyncRoom = RoomState>>; /// # }, /// # EventEmitter, SyncRoom /// # }; -/// use tokio::sync::RwLock; +/// # use matrix_sdk_common::locks::RwLock; /// /// struct EventCallback; ///