cargo fmt

This commit is contained in:
Henry Schimke
2023-01-05 11:32:23 -06:00
parent b69f23711c
commit fb0b626635
14 changed files with 66 additions and 90 deletions

View File

@@ -16,7 +16,7 @@
//package com.google.zxing;
use std::{rc::Rc, borrow::Cow};
use std::{borrow::Cow, rc::Rc};
use crate::{
common::{BitArray, BitMatrix},
@@ -62,7 +62,7 @@ pub trait Binarizer {
* @return The 2D array of bits for the image (true means black).
* @throws NotFoundException if image can't be binarized to make a matrix
*/
fn getBlackMatrix(& self) -> Result<&BitMatrix, Exceptions>;
fn getBlackMatrix(&self) -> Result<&BitMatrix, Exceptions>;
/**
* Creates a new object with the same type as this Binarizer implementation, but with pristine