chore: Rust 2024 edition
Set the formatting style to 2021 edition to avoid disrupting existing work. Remove when possible.
This commit is contained in:
parent
35d781dc1e
commit
7f7ab8bcbe
19 changed files with 494 additions and 506 deletions
|
|
@ -667,8 +667,7 @@ impl CosmicMapped {
|
|||
WindowSurface::Wayland(_) => "Protocol: Wayland",
|
||||
WindowSurface::X11(_) => "Protocol: X11",
|
||||
});
|
||||
if let WindowSurface::X11(ref surf) =
|
||||
window.0.underlying_surface()
|
||||
if let WindowSurface::X11(surf) = window.0.underlying_surface()
|
||||
{
|
||||
let geo = surf.geometry();
|
||||
ui.label(format!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue