diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2025-04-06 17:35:16 +0300 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2025-04-06 17:35:16 +0300 |
| commit | 1db06d90067ad8ce1e6e5a808acddd16aac3adec (patch) | |
| tree | abd85fcc17386d12ca67ea5408c1139fcaef4ee1 /src/wm_info_provider/river.rs | |
| parent | 77ba6b79be0c14483eac5ea683ab1b5dcf581058 (diff) | |
| download | i3bar-mango-1db06d90067ad8ce1e6e5a808acddd16aac3adec.tar.gz | |
use dyn trait upcasting
Diffstat (limited to 'src/wm_info_provider/river.rs')
| -rw-r--r-- | src/wm_info_provider/river.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wm_info_provider/river.rs b/src/wm_info_provider/river.rs index 9af3385..c0321ee 100644 --- a/src/wm_info_provider/river.rs +++ b/src/wm_info_provider/river.rs @@ -144,10 +144,6 @@ impl WmInfoProvider for RiverInfoProvider { _ => (), } } - - fn as_any(&mut self) -> &mut dyn Any { - self - } } fn output_status_cb(ctx: EventCtx<State, ZriverOutputStatusV1>) { |
