Add explicit type annotation.

master
Denis Kasak 2020-06-09 19:08:14 +02:00
parent a3c46c6144
commit 098cc1f9f8
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ impl Room {
let new_member = RoomMember::new(event); let new_member = RoomMember::new(event);
// find all users that share the same display name as the joining user // 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<UserId> = self
.members .members
.iter() .iter()
.filter(|(_, existing_member)| { .filter(|(_, existing_member)| {