fix(cli): use a generic Into<Path> over single type for path arguments

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
Will Lillis 2025-05-22 06:20:18 -04:00
parent 50eaf5befd
commit ac13c86675
3 changed files with 36 additions and 25 deletions

View file

@ -1,4 +1,9 @@
use std::{collections::HashMap, env, fs, path::Path, sync::LazyLock};
use std::{
collections::HashMap,
env, fs,
path::{Path, PathBuf},
sync::LazyLock,
};
use rand::Rng;
use regex::Regex;
@ -64,7 +69,7 @@ pub fn new_seed() -> usize {
pub struct FuzzOptions {
pub skipped: Option<Vec<String>>,
pub subdir: Option<String>,
pub subdir: Option<PathBuf>,
pub edits: usize,
pub iterations: usize,
pub include: Option<Regex>,