diff --git a/src/config.rs b/src/config.rs index 94f69e2..fb4fc0b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -5,7 +5,6 @@ use { env, fs::{read_to_string, File}, io::Write, - os::unix::ffi::OsStrExt, }, }; @@ -41,6 +40,8 @@ impl AdapterConfig { } } } + // It's unnecessary, but it's cute. :p + #[allow(dead_code)] pub fn save(&self) -> anyhow::Result<()> { let xdg_dirs = xdg::BaseDirectories::with_prefix(CFG_DIR); let p = xdg_dirs.place_config_file(Self::FNA)?; diff --git a/src/main.rs b/src/main.rs index 5048c54..2d9a80d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,6 @@ use { clap::{Parser, ValueEnum}, std::{ io::{pipe, Write}, - os::unix::ffi::OsStrExt, process::{Command, Stdio}, }, };