1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-16 22:31:03 +02:00
ironbar/src
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
..
clients refactor: avoid explicity cast with long type 2025-04-21 19:13:59 -03:00
config feat: rename sway_mode to bindmode and add Hyprland support 2025-04-21 19:13:59 -03:00
dynamic_value refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
image build: fix compilation for many feature combinations (#932) 2025-04-16 22:43:14 +01:00
ipc refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
modules feat: rename sway_mode to bindmode and add Hyprland support 2025-04-21 19:13:59 -03:00
bar.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
cli.rs feat: add shell completions 2024-12-29 00:19:02 +00:00
desktop_file.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
error.rs fix(wayland): exit on event dispatch error 2024-06-20 20:58:56 +01:00
gtk_helpers.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
ironvar.rs feat(sysinfo): expose values as ironvars 2025-02-23 16:51:30 +00:00
logging.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
macros.rs feat: libinput keys module 2024-12-27 19:44:25 +00:00
main.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
popup.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00
script.rs feat(config): json schema support 2024-05-31 22:01:50 +01:00
style.rs refactor: update to rust 2024, fix strict clippy warnings 2025-03-03 21:28:29 +00:00