1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-20 08:11:03 +02:00
ironbar/src/clients/compositor
Rodrigodd 638f2a20d2 refactor: avoid explicity cast with long type
Aparently Rust doesn't implicitly cast a `Result<Arc<T>>` to
`Result<Arc<dyn T>>`, so the `Result` was being mapped with a explicity
cast.

But unwrapping the `Result` with a `?` and then wrapping it back into
`Ok` make the implicit cast work. This avoid typing the entire type,
which was breaking the code in multiple lines.
2025-04-21 19:13:59 -03:00
..
niri fix(workspaces): niri workspaces not respecting added sort (#911) 2025-03-24 14:16:23 +00:00
hyprland.rs feat: rename sway_mode to bindmode and add Hyprland support 2025-04-21 19:13:59 -03:00
mod.rs refactor: avoid explicity cast with long type 2025-04-21 19:13:59 -03:00
sway.rs feat: rename sway_mode to bindmode and add Hyprland support 2025-04-21 19:13:59 -03:00