refactor to use common result type

This commit is contained in:
Vukašin Stepanović
2023-02-14 22:56:03 +00:00
parent 145cf704fe
commit 8ee616d96b
160 changed files with 829 additions and 901 deletions

View File

@@ -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 { "" },