summaryrefslogtreecommitdiff
path: root/src/wm_info_provider/hyprland.rs
diff options
context:
space:
mode:
authorMaxVerevkin <maxxverrr@gmail.com>2025-04-06 17:35:16 +0300
committerMaxVerevkin <maxxverrr@gmail.com>2025-04-06 17:35:16 +0300
commit1db06d90067ad8ce1e6e5a808acddd16aac3adec (patch)
treeabd85fcc17386d12ca67ea5408c1139fcaef4ee1 /src/wm_info_provider/hyprland.rs
parent77ba6b79be0c14483eac5ea683ab1b5dcf581058 (diff)
downloadi3bar-mango-1db06d90067ad8ce1e6e5a808acddd16aac3adec.tar.gz
use dyn trait upcasting
Diffstat (limited to 'src/wm_info_provider/hyprland.rs')
-rw-r--r--src/wm_info_provider/hyprland.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wm_info_provider/hyprland.rs b/src/wm_info_provider/hyprland.rs
index 6deeec1..52fd4eb 100644
--- a/src/wm_info_provider/hyprland.rs
+++ b/src/wm_info_provider/hyprland.rs
@@ -104,10 +104,6 @@ impl WmInfoProvider for HyprlandInfoProvider {
_ => (),
}
}
-
- fn as_any(&mut self) -> &mut dyn Any {
- self
- }
}
fn hyprland_cb(conn: &mut Connection<State>, state: &mut State) -> io::Result<()> {