chore: reformat & clippy cleanup #96

Merged
letian merged 3 commits from clippy-cleanup into master 2025-08-06 15:57:19 +00:00
Showing only changes of commit 74182bbc60 - Show all commits

View File

@ -107,7 +107,7 @@ impl OPNsenseShell for SshOPNSenseShell {
match result { match result {
Ok(bytes) => { Ok(bytes) => {
if !bytes.is_empty() { if !bytes.is_empty() {
remote_file.write(&bytes).await?; AsyncWriteExt::write_all(&mut remote_file, &bytes).await?;
} }
} }
Err(e) => todo!("Error unhandled {e}"), Err(e) => todo!("Error unhandled {e}"),