chore: clippy fixes
This commit is contained in:
parent
057e7b72cc
commit
0f56d214b9
7 changed files with 66 additions and 72 deletions
|
|
@ -905,7 +905,7 @@ impl Drop for MoveGrab {
|
|||
let seat = self.seat.clone();
|
||||
// false-positive: `Output`s hash is based on it's inner ptr
|
||||
#[allow(clippy::mutable_key_type)]
|
||||
let window_outputs = self.window_outputs.drain().collect::<HashSet<_>>();
|
||||
let window_outputs = std::mem::take(&mut self.window_outputs);
|
||||
let previous = self.previous;
|
||||
let window = self.window.clone();
|
||||
let is_touch_grab = matches!(self.start_data, GrabStartData::Touch(_));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue