Skip to content

Commit

Permalink
fix: cargo format from #44
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanvivien committed Oct 30, 2023
1 parent 11fdc99 commit 5623534
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/convert/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
//! # }
//! ```
use std::error::Error;
use std::fmt::{Formatter, Write};
use std::fmt::Formatter;
use std::io;

use crate::QRCode;
Expand Down Expand Up @@ -61,7 +60,7 @@ impl std::fmt::Display for ImageError {
match self {
ImageError::IoError(io_err) => f.write_str(io_err.to_string().as_str()),
ImageError::ImageError(error) => f.write_str(error.as_str()),
ImageError::EncodingError(error) => f.write_str(error.as_str())
ImageError::EncodingError(error) => f.write_str(error.as_str()),
}
}
}
Expand Down

0 comments on commit 5623534

Please sign in to comment.