cargo fmt

This commit is contained in:
Henry Schimke
2022-10-17 10:51:08 -05:00
parent 111fe47566
commit ae11af8c5b
136 changed files with 2117 additions and 1776 deletions

View File

@@ -3,7 +3,6 @@ use std::fmt;
use crate::ResultPoint;
use std::hash::Hash;
/**
* <p>Encapsulates a point of interest in an image containing a barcode. Typically, this
* would be the location of a finder pattern or the corner of the barcode, for example.</p>
@@ -13,7 +12,7 @@ use std::hash::Hash;
#[derive(Debug, Clone, Copy)]
pub struct RXingResultPoint {
pub(crate) x: f32,
pub(crate)y: f32,
pub(crate) y: f32,
}
impl Hash for RXingResultPoint {
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
@@ -51,4 +50,4 @@ impl fmt::Display for RXingResultPoint {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "({},{})", self.x, self.y)
}
}
}