Add explicit type annotation.
This commit is contained in:
parent
a3c46c6144
commit
098cc1f9f8
1 changed files with 1 additions and 1 deletions
|
@ -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)| {
|
||||
|
|
Loading…
Reference in a new issue