mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 04:42:35 +00:00
cargo fmt
This commit is contained in:
@@ -2,7 +2,7 @@ use std::fmt;
|
||||
|
||||
use crate::Exceptions;
|
||||
|
||||
use super::{GenericGFRef, GenericGFPoly};
|
||||
use super::{GenericGFPoly, GenericGFRef};
|
||||
|
||||
/**
|
||||
* <p>This class contains utility methods for performing mathematical operations over
|
||||
@@ -175,4 +175,4 @@ impl fmt::Display for GenericGF {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "GF({:#06x},{}", self.primitive, self.size)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ use std::fmt;
|
||||
|
||||
use crate::Exceptions;
|
||||
|
||||
use super::{GenericGFRef, GenericGF};
|
||||
use super::{GenericGF, GenericGFRef};
|
||||
|
||||
/**
|
||||
* <p>Represents a polynomial whose coefficients are elements of a GF.
|
||||
@@ -337,4 +337,4 @@ impl fmt::Display for GenericGFPoly {
|
||||
}
|
||||
write!(f, "{}", result)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,4 +78,4 @@ mod reedsolomon_decoder;
|
||||
pub use reedsolomon_decoder::*;
|
||||
|
||||
mod reedsolomon_encoder;
|
||||
pub use reedsolomon_encoder::*;
|
||||
pub use reedsolomon_encoder::*;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
use crate::Exceptions;
|
||||
|
||||
use super::{GenericGFRef, GenericGFPoly, GenericGF};
|
||||
use super::{GenericGF, GenericGFPoly, GenericGFRef};
|
||||
|
||||
/**
|
||||
* <p>Implements Reed-Solomon decoding, as the name implies.</p>
|
||||
@@ -308,4 +308,4 @@ impl ReedSolomonDecoder {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user