Skip to content

Commit

Permalink
chore: do fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Aug 6, 2024
1 parent 1ebf411 commit 5e09639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layershellev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1845,9 +1845,9 @@ impl<T: Debug + 'static, INFO: 'static + Clone> WindowState<T, INFO> {
};
self.units[index].layer_shell.destroy();
self.units[index].wl_surface.destroy();
if let Some(buffer) = self.units[index]
.buffer
.as_ref() { buffer.destroy() }
if let Some(buffer) = self.units[index].buffer.as_ref() {
buffer.destroy()
}
self.units.remove(index);
}
_ => {}
Expand Down

0 comments on commit 5e09639

Please sign in to comment.