From 3497040b78c16cbe5ac6fbfb273d4b8944379c60 Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Tue, 30 Jan 2018 22:18:22 -0500 Subject: [PATCH] Remove useless annotation --- src/png/mod.rs | 1 - 1 file changed, 1 deletion(-) 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)?;