Add explicit type annotation.

This commit is contained in:
Denis Kasak 2020-06-09 19:08:14 +02:00
parent a3c46c6144
commit 098cc1f9f8

View file

@ -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<UserId> = self
.members
.iter()
.filter(|(_, existing_member)| {