aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2023-12-17 16:13:43 +0100
committerDaniel Jankowski <daniel.jankowski@rub.de>2023-12-17 16:13:43 +0100
commit58a46b4e6e49efb64b22d98a995bcd9dab8bed00 (patch)
tree0c4817044b52338f9652b9978132c0d03793dac6
parentchore: bump version to v0.10.0 (diff)
downloadsl0pstatus-58a46b4e6e49efb64b22d98a995bcd9dab8bed00.tar.gz
sl0pstatus-58a46b4e6e49efb64b22d98a995bcd9dab8bed00.tar.xz
sl0pstatus-58a46b4e6e49efb64b22d98a995bcd9dab8bed00.zip
chore: fix clippy issues
-rw-r--r--src/bin/zjstatus.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/zjstatus.rs b/src/bin/zjstatus.rs
index 7999380..d08c016 100644
--- a/src/bin/zjstatus.rs
+++ b/src/bin/zjstatus.rs
@@ -187,25 +187,25 @@ fn register_widgets(configuration: &BTreeMap<String, String>) -> BTreeMap<String
widget_map.insert(
"command".to_owned(),
- Arc::new(CommandWidget::new(&configuration)),
+ Arc::new(CommandWidget::new(configuration)),
);
widget_map.insert(
"datetime".to_owned(),
- Arc::new(DateTimeWidget::new(&configuration)),
+ Arc::new(DateTimeWidget::new(configuration)),
);
widget_map.insert(
"swap_layout".to_owned(),
- Arc::new(SwapLayoutWidget::new(&configuration)),
+ Arc::new(SwapLayoutWidget::new(configuration)),
);
widget_map.insert(
"mode".to_owned(),
- Arc::new(ModeWidget::new(&configuration)),
+ Arc::new(ModeWidget::new(configuration)),
);
widget_map.insert(
"session".to_owned(),
- Arc::new(SessionWidget::new(&configuration)),
+ Arc::new(SessionWidget::new(configuration)),
);
- widget_map.insert("tabs".to_owned(), Arc::new(TabsWidget::new(&configuration)));
+ widget_map.insert("tabs".to_owned(), Arc::new(TabsWidget::new(configuration)));
widget_map
}