Remove useless annotation
This commit is contained in:
parent
cf5b90b444
commit
3497040b78
1 changed files with 0 additions and 1 deletions
|
|
@ -49,7 +49,6 @@ pub struct PngData {
|
||||||
impl PngData {
|
impl PngData {
|
||||||
/// Create a new `PngData` struct by opening a file
|
/// Create a new `PngData` struct by opening a file
|
||||||
#[inline]
|
#[inline]
|
||||||
#[allow(dead_code)]
|
|
||||||
pub fn new(filepath: &Path, fix_errors: bool) -> Result<PngData, PngError> {
|
pub fn new(filepath: &Path, fix_errors: bool) -> Result<PngData, PngError> {
|
||||||
let byte_data = PngData::read_file(filepath)?;
|
let byte_data = PngData::read_file(filepath)?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue