From 050214ab96ff2c10bea81a289a98e99203b19af5 Mon Sep 17 00:00:00 2001 From: ripytide Date: Wed, 4 Jan 2023 14:58:41 +0000 Subject: [PATCH] cargo fmt --- src/range_bounds_map.rs | 14 +++++++------- src/range_bounds_set.rs | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/range_bounds_map.rs b/src/range_bounds_map.rs index b3961e4..401bcca 100644 --- a/src/range_bounds_map.rs +++ b/src/range_bounds_map.rs @@ -1529,9 +1529,9 @@ where return Ok(output); } - /// Similar to [`RangeBoundsMap::overlapping()`] except the - /// `(Bound, Bound)`s returned in the iterator have been - /// trimmed/cut by the given `range_bounds`. + /// Similar to [`RangeBoundsMap::overlapping()`] except the + /// `(Bound, Bound)`s returned in the iterator have been + /// trimmed/cut by the given `range_bounds`. /// /// This is sort of the analogue to the AND function between a /// `RangeBounds` AND a [`RangeBoundsMap`]. @@ -1737,7 +1737,7 @@ where K: RangeBounds + Serialize, V: Serialize, { - #[trivial] + #[trivial] fn serialize(&self, serializer: S) -> Result where S: Serializer, @@ -1756,7 +1756,7 @@ where I: Ord + Clone, V: Deserialize<'de>, { - #[trivial] + #[trivial] fn deserialize(deserializer: D) -> Result where D: Deserializer<'de>, @@ -1783,12 +1783,12 @@ where { type Value = RangeBoundsMap; - #[trivial] + #[trivial] fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { formatter.write_str("a RangeBoundsMap") } - #[trivial] + #[trivial] fn visit_map(self, mut access: A) -> Result where A: MapAccess<'de>, diff --git a/src/range_bounds_set.rs b/src/range_bounds_set.rs index 14e9268..ad4cedc 100644 --- a/src/range_bounds_set.rs +++ b/src/range_bounds_set.rs @@ -1013,7 +1013,7 @@ where I: Ord + Clone, K: RangeBounds + Serialize, { - #[trivial] + #[trivial] fn serialize(&self, serializer: S) -> Result where S: Serializer, @@ -1031,7 +1031,7 @@ where K: Deserialize<'de> + RangeBounds, I: Ord + Clone, { - #[trivial] + #[trivial] fn deserialize(deserializer: D) -> Result where D: Deserializer<'de>, @@ -1055,12 +1055,12 @@ where { type Value = RangeBoundsSet; - #[trivial] + #[trivial] fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { formatter.write_str("a RangeBoundsSet") } - #[trivial] + #[trivial] fn visit_seq(self, mut access: A) -> Result where A: SeqAccess<'de>,