mirror of
https://github.com/kittywitch/fzfdapter.git
synced 2026-02-09 06:39:19 -08:00
chore: cargo fix all, remove remaining warning
This commit is contained in:
parent
f8a5b1595f
commit
03daad2573
2 changed files with 2 additions and 2 deletions
|
|
@ -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)?;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ use {
|
|||
clap::{Parser, ValueEnum},
|
||||
std::{
|
||||
io::{pipe, Write},
|
||||
os::unix::ffi::OsStrExt,
|
||||
process::{Command, Stdio},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue