Skip to content

Commit

Permalink
Format PR 2709
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 16, 2024
1 parent a6571ee commit c13b3f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serde/src/de/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ macro_rules! visit_saturating {
}

macro_rules! impl_deserialize_saturating_num {
($primitive:ident, $deserialize:ident ) => {
($primitive:ident, $deserialize:ident) => {
#[cfg(not(no_core_num_saturating))]
impl<'de> Deserialize<'de> for Saturating<$primitive> {
#[inline]
Expand All @@ -424,7 +424,7 @@ macro_rules! impl_deserialize_saturating_num {
type Value = Saturating<$primitive>;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
formatter.write_str("An integer with support for saturating semantics")
formatter.write_str("integer with support for saturating semantics")
}

visit_saturating!($primitive, u8:visit_u8);
Expand Down

0 comments on commit c13b3f7

Please sign in to comment.