Format with rustfmt 1.4.25-beta
This commit is contained in:
parent
e3d871ff7b
commit
192c7819ee
@ -2334,10 +2334,7 @@ where
|
||||
0 => Ok(Field::Unbounded),
|
||||
1 => Ok(Field::Included),
|
||||
2 => Ok(Field::Excluded),
|
||||
_ => Err(Error::invalid_value(
|
||||
Unexpected::Unsigned(value),
|
||||
&self,
|
||||
)),
|
||||
_ => Err(Error::invalid_value(Unexpected::Unsigned(value), &self)),
|
||||
}
|
||||
}
|
||||
|
||||
@ -2499,10 +2496,7 @@ where
|
||||
match value {
|
||||
0 => Ok(Field::Ok),
|
||||
1 => Ok(Field::Err),
|
||||
_ => Err(Error::invalid_value(
|
||||
Unexpected::Unsigned(value),
|
||||
&self,
|
||||
)),
|
||||
_ => Err(Error::invalid_value(Unexpected::Unsigned(value), &self)),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user