diff options
Diffstat (limited to 'swaystatus-plugin/src/lib.rs')
| -rw-r--r-- | swaystatus-plugin/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaystatus-plugin/src/lib.rs b/swaystatus-plugin/src/lib.rs index 8a632cf..e54e057 100644 --- a/swaystatus-plugin/src/lib.rs +++ b/swaystatus-plugin/src/lib.rs @@ -60,7 +60,7 @@ macro_rules! declare_swaystatus_module { // make sure the constructor is the correct type. let constructor: fn() -> $plugin_type = $constructor; let object = constructor(); - let boxed: Box<$crate::SwayStatusModule> = Box::new(object); + let boxed: Box<dyn $crate::SwayStatusModule> = Box::new(object); Box::into_raw(boxed) } #[no_mangle] |
