Skip to content

Commit

Permalink
remove the unused function diff_w
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Jan 23, 2024
1 parent a10ef62 commit 6648963
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ed_diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ pub fn diff(expected: &[u8], actual: &[u8]) -> Result<Vec<u8>, DiffError> {
Ok(output)
}

pub fn diff_w(expected: &[u8], actual: &[u8], filename: &str) -> Result<Vec<u8>, DiffError> {
let mut output = diff(expected, actual)?;
writeln!(&mut output, "w {}", filename).unwrap();
Ok(output)
}

#[test]
fn test_permutations() {
let target = "target/ed-diff/";
Expand Down

0 comments on commit 6648963

Please sign in to comment.