diff options
Diffstat (limited to 'src/app/layout_manager.rs')
-rw-r--r-- | src/app/layout_manager.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/app/layout_manager.rs b/src/app/layout_manager.rs index 94e7f877..f5ed8eaa 100644 --- a/src/app/layout_manager.rs +++ b/src/app/layout_manager.rs @@ -1018,7 +1018,7 @@ impl std::str::FromStr for BottomWidgetType { #[cfg(feature = "battery")] { Err(BottomError::ConfigError(format!( - "\"{}\" is an invalid widget name. + "\"{s}\" is an invalid widget name. Supported widget names: +--------------------------+ @@ -1037,13 +1037,12 @@ Supported widget names: | batt, battery | +--------------------------+ ", - s ))) } #[cfg(not(feature = "battery"))] { Err(BottomError::ConfigError(format!( - "\"{}\" is an invalid widget name. + "\"{s}\" is an invalid widget name. Supported widget names: +--------------------------+ @@ -1060,7 +1059,6 @@ Supported widget names: | disk | +--------------------------+ ", - s ))) } } |