Skip to content

Commit

Permalink
fake_diff_editor: Allow specifying extra arguments to be ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed Aug 20, 2023
1 parent bdcd2be commit 7668ab3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/testing/fake-diff-editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ struct Args {

/// Path to the "after" directory
after: PathBuf,

/// Ignored argument
#[arg(long)]
_ignore: Vec<String>,
}

fn files_recursively(dir: &Path) -> HashSet<String> {
Expand Down

0 comments on commit 7668ab3

Please sign in to comment.