Clippy fixes for gpui2 (#3826)

It's not quite complete, but we gotta start somewhere.
Release Notes:

- N/A
This commit is contained in:
Nathan Sobo 2024-01-02 11:38:25 -07:00 committed by GitHub
commit cb6652e7bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 358 additions and 414 deletions

View file

@ -106,7 +106,7 @@ impl AsyncAppContext {
.upgrade()
.ok_or_else(|| anyhow!("app was released"))?;
let mut lock = app.borrow_mut();
Ok(f(&mut *lock))
Ok(f(&mut lock))
}
pub fn open_window<V>(