Skip to content

Commit

Permalink
Fix warning in benchmark compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed May 22, 2020
1 parent 0c089f6 commit 0cc1fde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/local_dezoomifying.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ pub async fn dezoom_image<'a>(input: &str, expected: &'a str) -> Result<TmpFile<
Ok(tmp_file)
}

// Unused in benchmarks
#[allow(dead_code)]
pub async fn test_image(input: &str, expected: &str) -> Result<(), ZoomError> {
let tmp_file = dezoom_image(input, expected).await?;
let actual = image::open(tmp_file.to_path_buf())?;
Expand Down

0 comments on commit 0cc1fde

Please sign in to comment.