~jplatte/ledybar

cdb81e3fa10399f1b3b8199bcf9977ee501ef950 — Jonas Platte 8 months ago 05b8a2e master
Fix clippy warnings
2 files changed, 3 insertions(+), 1 deletions(-)

M src/bar.rs
M src/main.rs
M src/bar.rs => src/bar.rs +2 -0
@@ 1,3 1,5 @@
#![allow(clippy::blacklisted_name)]

use std::{iter, sync::Arc, thread};

use glib::Sender;

M src/main.rs => src/main.rs +1 -1
@@ 21,7 21,7 @@ fn run() -> anyhow::Result<()> {
    let xdg_dirs = xdg::BaseDirectories::with_prefix("ledybar")?;

    let mut stylesheet =
        xdg_dirs.find_config_file("style.css").map(|path| fs::read_to_string(path)).transpose()?;
        xdg_dirs.find_config_file("style.css").map(fs::read_to_string).transpose()?;

    let config: Config = match xdg_dirs.find_config_file("config.toml") {
        Some(path) => {