mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
many small rustifications
This commit is contained in:
@@ -107,7 +107,7 @@ fn encode(
|
||||
) -> Result<BitMatrix, Exceptions> {
|
||||
if format != BarcodeFormat::AZTEC {
|
||||
return Err(Exceptions::IllegalArgumentException(Some(format!(
|
||||
"Can only encode AZTEC, but got {:?}",
|
||||
"can only encode AZTEC, but got {:?}",
|
||||
format
|
||||
))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user