Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed Dec 4, 2024
1 parent e499a0e commit b147384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn delete_using_finder<P: AsRef<Path>>(full_paths: &[P]) -> Result<(), Error> {
// The `-e` flag is used to execute only one line of AppleScript.
let mut command = Command::new("osascript");
let posix_files = full_paths
.into_iter()
.iter()
.map(|p| {
let path_b = p.as_ref().as_os_str().as_encoded_bytes();
match simdutf8::basic::from_utf8(path_b) {
Expand Down

0 comments on commit b147384

Please sign in to comment.