mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 19:47:55 +00:00
Format with rustfmt 1.4.25-beta
This commit is contained in:
@@ -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)),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user