Skip to content

Commit

Permalink
chore: fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dj95 committed Dec 17, 2023
1 parent b22e8ac commit 58a46b4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/bin/zjstatus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 58a46b4

Please sign in to comment.