From c13b3f7e68d4c71bbe1ea825b36148eadf7de603 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 16 Apr 2024 13:31:27 -0700 Subject: [PATCH] Format PR 2709 --- serde/src/de/impls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serde/src/de/impls.rs b/serde/src/de/impls.rs index 9ccb3ce69..6a1dbd3ad 100644 --- a/serde/src/de/impls.rs +++ b/serde/src/de/impls.rs @@ -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] @@ -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);