Add explicit type annotation.
parent
a3c46c6144
commit
098cc1f9f8
|
@ -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 New Issue