From db11940f8f14a705c3dbdc8326b9c641bd27ddce Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 25 Jan 2023 14:15:35 +0100 Subject: [PATCH] test(sdk): Fix clippy warning --- crates/matrix-sdk/src/sliding_sync.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/matrix-sdk/src/sliding_sync.rs b/crates/matrix-sdk/src/sliding_sync.rs index 8668897e2..aac09e476 100644 --- a/crates/matrix-sdk/src/sliding_sync.rs +++ b/crates/matrix-sdk/src/sliding_sync.rs @@ -1598,7 +1598,7 @@ impl SlidingSyncView { /// /// Only matches against the current ranges and only against filled items. /// Invalid items are ignore. Return the total position the item was - /// found in the room_list, return None otherwise. + /// found in the room_list, return None otherwise. pub fn find_room_in_view(&self, room_id: &RoomId) -> Option { let ranges = self.ranges.lock_ref(); let listing = self.rooms_list.lock_ref(); @@ -1772,7 +1772,7 @@ mod test { use super::*; #[tokio::test] - async fn check_find_room_in_view() -> crate::Result<()> { + async fn check_find_room_in_view() -> Result<()> { let view = SlidingSyncViewBuilder::default() .name("testview") .add_range(0u32, 9u32)