mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
numfmt: implement Eq to fix clippy warning
This commit is contained in:
parent
0f1b98c259
commit
bfa6e23166
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ impl RoundMethod {
|
|||
}
|
||||
|
||||
// Represents the options extracted from the --format argument provided by the user.
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub struct FormatOptions {
|
||||
pub grouping: bool,
|
||||
pub padding: Option<isize>,
|
||||
|
|
|
@ -17,7 +17,7 @@ pub const IEC_BASES: [f64; 10] = [
|
|||
|
||||
pub type WithI = bool;
|
||||
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||
pub enum Unit {
|
||||
Auto,
|
||||
Si,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue