Skip to content

Commit 38193a9

Browse files
committed
Fix: Convert Path to &str for ShellState::new() in fuzz_path_operations.rs
1 parent 0c8838d commit 38193a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

impl/rust-cli/fuzz/fuzz_targets/fuzz_path_operations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fuzz_target!(|data: &[u8]| {
3535
Err(_) => return,
3636
};
3737

38-
let mut state = match ShellState::new(temp.path()) {
38+
let mut state = match ShellState::new(temp.path().to_str().unwrap()) {
3939
Ok(s) => s,
4040
Err(_) => return,
4141
};

0 commit comments

Comments
 (0)