From 098cc1f9f8218e3410296c2a0b41b9364ea1276b Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Tue, 9 Jun 2020 19:08:14 +0200 Subject: [PATCH] Add explicit type annotation. --- matrix_sdk_base/src/models/room.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_base/src/models/room.rs b/matrix_sdk_base/src/models/room.rs index a4b211b0..77f55c11 100644 --- a/matrix_sdk_base/src/models/room.rs +++ b/matrix_sdk_base/src/models/room.rs @@ -340,7 +340,7 @@ impl Room { let new_member = RoomMember::new(event); // find all users that share the same display name as the joining user - let users_with_same_name: Vec<_> = self + let users_with_same_name: Vec = self .members .iter() .filter(|(_, existing_member)| {