From 37bcbf01fa0cd5733c894fbeb4eb15edd3a3eebd Mon Sep 17 00:00:00 2001 From: Paul Delafosse Date: Wed, 24 Jan 2024 16:55:48 +0100 Subject: [PATCH] chore: remove nightly rustfmt configs --- rustfmt.toml | 1 - src/theme/paths.rs | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 rustfmt.toml diff --git a/rustfmt.toml b/rustfmt.toml deleted file mode 100644 index d9c6de2..0000000 --- a/rustfmt.toml +++ /dev/null @@ -1 +0,0 @@ -imports_granularity = "Module" \ No newline at end of file diff --git a/src/theme/paths.rs b/src/theme/paths.rs index 8f6216e..33f6e24 100644 --- a/src/theme/paths.rs +++ b/src/theme/paths.rs @@ -16,7 +16,8 @@ fn icon_theme_base_paths() -> Vec { let home_icon_dir = home_dir().expect("No $HOME directory").join(".icons"); let mut data_dirs: Vec<_> = BaseDirectories::new() .map(|bd| { - let mut data_dirs: Vec<_> = bd.get_data_dirs() + let mut data_dirs: Vec<_> = bd + .get_data_dirs() .into_iter() .map(|p| p.join("icons")) .collect(); @@ -26,8 +27,6 @@ fn icon_theme_base_paths() -> Vec { .unwrap_or_default(); data_dirs.push(home_icon_dir); data_dirs.into_iter().filter(|p| p.exists()).collect() - - } #[derive(Debug)]