Add explicit type annotation.
parent
a3c46c6144
commit
098cc1f9f8
|
@ -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)| {
|
||||||
|
|
Loading…
Reference in New Issue