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) => {