File tree Expand file tree Collapse file tree 4 files changed +32
-7
lines changed Expand file tree Collapse file tree 4 files changed +32
-7
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,11 @@ where
153153 T : PlaceholderValueProvider < K > + ?Sized ,
154154{
155155 type Error = T :: Error ;
156- type W < ' a > = T :: W < ' a > where T : ' a , ' b : ' a ;
156+ type W < ' a >
157+ = T :: W < ' a >
158+ where
159+ T : ' a ,
160+ ' b : ' a ;
157161 const LITERAL_PART : Part = T :: LITERAL_PART ;
158162 fn value_for ( & self , key : K ) -> ( Self :: W < ' _ > , Part ) {
159163 ( * self ) . value_for ( key)
Original file line number Diff line number Diff line change 7272 W1 : Writeable ,
7373{
7474 type Error = Infallible ;
75- type W < ' a > = WriteableAsTryWriteableInfallible < Either < & ' a W0 , & ' a W1 > > where W0 : ' a , W1 : ' a ;
75+ type W < ' a >
76+ = WriteableAsTryWriteableInfallible < Either < & ' a W0 , & ' a W1 > >
77+ where
78+ W0 : ' a ,
79+ W1 : ' a ;
7680 const LITERAL_PART : writeable:: Part = crate :: PATTERN_LITERAL_PART ;
7781 #[ inline]
7882 fn value_for ( & self , key : DoublePlaceholderKey ) -> ( Self :: W < ' _ > , writeable:: Part ) {
9296 W : Writeable ,
9397{
9498 type Error = Infallible ;
95- type W < ' a > = WriteableAsTryWriteableInfallible < & ' a W > where W : ' a ;
99+ type W < ' a >
100+ = WriteableAsTryWriteableInfallible < & ' a W >
101+ where
102+ W : ' a ;
96103 const LITERAL_PART : writeable:: Part = crate :: PATTERN_LITERAL_PART ;
97104 #[ inline]
98105 fn value_for ( & self , key : DoublePlaceholderKey ) -> ( Self :: W < ' _ > , writeable:: Part ) {
Original file line number Diff line number Diff line change 9393 W : Writeable ,
9494{
9595 type Error = MissingNamedPlaceholderError < ' k > ;
96- type W < ' a > = Result < & ' a W , Self :: Error > where W : ' a , Self : ' a ;
96+ type W < ' a >
97+ = Result < & ' a W , Self :: Error >
98+ where
99+ W : ' a ,
100+ Self : ' a ;
97101 const LITERAL_PART : writeable:: Part = crate :: PATTERN_LITERAL_PART ;
98102 #[ inline]
99103 fn value_for < ' a > (
@@ -116,7 +120,11 @@ where
116120 S : litemap:: store:: Store < K , W > ,
117121{
118122 type Error = MissingNamedPlaceholderError < ' k > ;
119- type W < ' a > = Result < & ' a W , Self :: Error > where W : ' a , Self : ' a ;
123+ type W < ' a >
124+ = Result < & ' a W , Self :: Error >
125+ where
126+ W : ' a ,
127+ Self : ' a ;
120128 const LITERAL_PART : writeable:: Part = crate :: PATTERN_LITERAL_PART ;
121129 #[ inline]
122130 fn value_for < ' a > (
Original file line number Diff line number Diff line change 6161 W : Writeable ,
6262{
6363 type Error = Infallible ;
64- type W < ' a > = WriteableAsTryWriteableInfallible < & ' a W > where W : ' a ;
64+ type W < ' a >
65+ = WriteableAsTryWriteableInfallible < & ' a W >
66+ where
67+ W : ' a ;
6568 const LITERAL_PART : writeable:: Part = crate :: PATTERN_LITERAL_PART ;
6669 fn value_for ( & self , _key : SinglePlaceholderKey ) -> ( Self :: W < ' _ > , writeable:: Part ) {
6770 (
7679 W : Writeable ,
7780{
7881 type Error = Infallible ;
79- type W < ' a > = WriteableAsTryWriteableInfallible < & ' a W > where W : ' a ;
82+ type W < ' a >
83+ = WriteableAsTryWriteableInfallible < & ' a W >
84+ where
85+ W : ' a ;
8086 const LITERAL_PART : writeable:: Part = crate :: PATTERN_LITERAL_PART ;
8187 fn value_for ( & self , _key : SinglePlaceholderKey ) -> ( Self :: W < ' _ > , writeable:: Part ) {
8288 let [ value] = self ;
You can’t perform that action at this time.
0 commit comments