1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2025-08-29 11:21:04 +02:00
parent e5fd0fa192
commit 9e67158f47
29 changed files with 31 additions and 68 deletions

View file

@ -38,7 +38,7 @@ impl<P: Object> Bindings<P> {
self.bindings.clear();
}
pub fn lock(&self) -> Locked<(ClientId, ObjectId), Rc<P>> {
pub fn lock(&self) -> Locked<'_, (ClientId, ObjectId), Rc<P>> {
self.bindings.lock()
}
}
@ -89,7 +89,7 @@ impl<P: Object> PerClientBindings<P> {
}
}
pub fn borrow(&self) -> Ref<AHashMap<ClientId, AHashMap<ObjectId, Rc<P>>>> {
pub fn borrow(&self) -> Ref<'_, AHashMap<ClientId, AHashMap<ObjectId, Rc<P>>>> {
self.bindings.borrow()
}
}