mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
cargo clippy --fix
This commit is contained in:
@@ -60,8 +60,7 @@ impl Writer for PDF417Writer {
|
||||
) -> Result<crate::common::BitMatrix, crate::Exceptions> {
|
||||
if format != &BarcodeFormat::PDF_417 {
|
||||
return Err(Exceptions::IllegalArgumentException(Some(format!(
|
||||
"Can only encode PDF_417, but got {}",
|
||||
format
|
||||
"Can only encode PDF_417, but got {format}"
|
||||
))));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user