mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
refactor to use common result type
This commit is contained in:
@@ -428,7 +428,7 @@ impl<T: Reader> AbstractBlackBoxTestCase<T> {
|
||||
expected_text: &str,
|
||||
expected_metadata: &HashMap<RXingResultMetadataType, RXingResultMetadataValue>,
|
||||
try_harder: bool,
|
||||
) -> Result<bool, rxing::Exceptions> {
|
||||
) -> Result<bool> {
|
||||
let suffix = format!(
|
||||
" ({}rotation: {})",
|
||||
if try_harder { "try harder, " } else { "" },
|
||||
|
||||
Reference in New Issue
Block a user