all: address clippy lints
This commit is contained in:
parent
a09e8bfbd3
commit
a2a04512ed
4 changed files with 5 additions and 6 deletions
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue