diff --git a/utils/pattern/src/common.rs b/utils/pattern/src/common.rs index cf9c6303117..a2e328e4baa 100644 --- a/utils/pattern/src/common.rs +++ b/utils/pattern/src/common.rs @@ -153,7 +153,11 @@ where T: PlaceholderValueProvider + ?Sized, { type Error = T::Error; - type W<'a> = T::W<'a> where T: 'a, 'b: 'a; + type W<'a> + = T::W<'a> + where + T: 'a, + 'b: 'a; const LITERAL_PART: Part = T::LITERAL_PART; fn value_for(&self, key: K) -> (Self::W<'_>, Part) { (*self).value_for(key) diff --git a/utils/pattern/src/double.rs b/utils/pattern/src/double.rs index 116c33a08e2..268fad5c0f5 100644 --- a/utils/pattern/src/double.rs +++ b/utils/pattern/src/double.rs @@ -72,7 +72,11 @@ where W1: Writeable, { type Error = Infallible; - type W<'a> = WriteableAsTryWriteableInfallible> where W0: 'a, W1: 'a; + type W<'a> + = WriteableAsTryWriteableInfallible> + where + W0: 'a, + W1: 'a; const LITERAL_PART: writeable::Part = crate::PATTERN_LITERAL_PART; #[inline] fn value_for(&self, key: DoublePlaceholderKey) -> (Self::W<'_>, writeable::Part) { @@ -92,7 +96,10 @@ where W: Writeable, { type Error = Infallible; - type W<'a> = WriteableAsTryWriteableInfallible<&'a W> where W: 'a; + type W<'a> + = WriteableAsTryWriteableInfallible<&'a W> + where + W: 'a; const LITERAL_PART: writeable::Part = crate::PATTERN_LITERAL_PART; #[inline] fn value_for(&self, key: DoublePlaceholderKey) -> (Self::W<'_>, writeable::Part) { diff --git a/utils/pattern/src/multi_named.rs b/utils/pattern/src/multi_named.rs index 1eced46557b..69296dae23b 100644 --- a/utils/pattern/src/multi_named.rs +++ b/utils/pattern/src/multi_named.rs @@ -93,7 +93,11 @@ where W: Writeable, { type Error = MissingNamedPlaceholderError<'k>; - type W<'a> = Result<&'a W, Self::Error> where W: 'a, Self: 'a; + type W<'a> + = Result<&'a W, Self::Error> + where + W: 'a, + Self: 'a; const LITERAL_PART: writeable::Part = crate::PATTERN_LITERAL_PART; #[inline] fn value_for<'a>( @@ -116,7 +120,11 @@ where S: litemap::store::Store, { type Error = MissingNamedPlaceholderError<'k>; - type W<'a> = Result<&'a W, Self::Error> where W: 'a, Self: 'a; + type W<'a> + = Result<&'a W, Self::Error> + where + W: 'a, + Self: 'a; const LITERAL_PART: writeable::Part = crate::PATTERN_LITERAL_PART; #[inline] fn value_for<'a>( diff --git a/utils/pattern/src/single.rs b/utils/pattern/src/single.rs index 75132809512..f14fcabdeb2 100644 --- a/utils/pattern/src/single.rs +++ b/utils/pattern/src/single.rs @@ -61,7 +61,10 @@ where W: Writeable, { type Error = Infallible; - type W<'a> = WriteableAsTryWriteableInfallible<&'a W> where W: 'a; + type W<'a> + = WriteableAsTryWriteableInfallible<&'a W> + where + W: 'a; const LITERAL_PART: writeable::Part = crate::PATTERN_LITERAL_PART; fn value_for(&self, _key: SinglePlaceholderKey) -> (Self::W<'_>, writeable::Part) { ( @@ -76,7 +79,10 @@ where W: Writeable, { type Error = Infallible; - type W<'a> = WriteableAsTryWriteableInfallible<&'a W> where W: 'a; + type W<'a> + = WriteableAsTryWriteableInfallible<&'a W> + where + W: 'a; const LITERAL_PART: writeable::Part = crate::PATTERN_LITERAL_PART; fn value_for(&self, _key: SinglePlaceholderKey) -> (Self::W<'_>, writeable::Part) { let [value] = self;