rust 1.71 clippy fixes

This commit is contained in:
Folkert 2023-07-25 10:46:46 +02:00
parent d3ccdb51ea
commit 8e9cf121ad
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
9 changed files with 13 additions and 14 deletions

View file

@ -1172,7 +1172,7 @@ fn roc_run_executable_file_path(binary_bytes: &[u8]) -> std::io::Result<Executab
Ok(ExecutableFile::OnDisk(temp_dir, app_path_buf))
}
#[cfg(all(target_family = "windows"))]
#[cfg(target_family = "windows")]
fn roc_run_executable_file_path(binary_bytes: &[u8]) -> std::io::Result<ExecutableFile> {
use std::fs::OpenOptions;
use std::io::Write;