Fix Clippy warnings in client crate (#8719)

This PR fixes a number of Clippy warnings in the `client` crate.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 12:33:02 -05:00 committed by GitHub
parent 5de7492146
commit 0ac203bde0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 29 deletions

View file

@ -653,7 +653,7 @@ impl UserStore {
let users = response
.users
.into_iter()
.map(|user| User::new(user))
.map(User::new)
.collect::<Vec<_>>();
this.update(&mut cx, |this, _| {