diff --git a/src/png/mod.rs b/src/png/mod.rs index 84604994..ebc38d25 100644 --- a/src/png/mod.rs +++ b/src/png/mod.rs @@ -49,7 +49,6 @@ pub struct PngData { impl PngData { /// Create a new `PngData` struct by opening a file #[inline] - #[allow(dead_code)] pub fn new(filepath: &Path, fix_errors: bool) -> Result { let byte_data = PngData::read_file(filepath)?;