mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 11:11:04 +02:00
refactor: general code tidy-up
This commit is contained in:
parent
5e21cbcca6
commit
ea2c84d1bd
4 changed files with 15 additions and 18 deletions
|
@ -121,7 +121,6 @@ fn create_bars(
|
|||
.ok_or_else(|| Report::msg(error::ERR_OUTPUTS))?;
|
||||
let monitor_name = &output.name;
|
||||
|
||||
// TODO: Could we use an Arc<Config> or `Cow<Config>` here to avoid cloning?
|
||||
config.monitors.as_ref().map_or_else(
|
||||
|| {
|
||||
info!("Creating bar on '{}'", monitor_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue