Remove useless annotation

This commit is contained in:
Josh Holmer 2018-01-30 22:18:22 -05:00
parent cf5b90b444
commit 3497040b78

View file

@ -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<PngData, PngError> {
let byte_data = PngData::read_file(filepath)?;