1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2023-10-22 16:01:40 +02:00
parent a09e8bfbd3
commit a2a04512ed
4 changed files with 5 additions and 6 deletions

View file

@ -887,7 +887,7 @@ impl WlSeatGlobal {
}
{
let mut bindings = self.bindings.borrow_mut();
let bindings = bindings.entry(client.id).or_insert_with(Default::default);
let bindings = bindings.entry(client.id).or_default();
bindings.insert(id, obj.clone());
}
Ok(())