Format with clippy and fmt
@@ -19,7 +19,6 @@ use std::{
path::PathBuf,
};
-
#[cfg(unix)]
use std::os::unix::fs::PermissionsExt;
@@ -157,7 +156,6 @@ impl FileMemory {
fs::set_permissions(&self.fname, perms)
}
-
fn write_to_file(&self, payload: &[u8]) -> Result<(), std::io::Error> {
match self.set_write_only() {
Ok(()) => (),
