Skip to content

Commit

Permalink
Format with rustfmt 1.4.25-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 29, 2020
1 parent e3d871f commit 192c781
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions serde/src/de/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
}
}

Expand Down Expand Up @@ -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)),
}
}

Expand Down

0 comments on commit 192c781

Please sign in to comment.