@@ -5,8 +5,6 @@ use crate::format::{format_directives, Displayable, Formatter, Style};
55use  crate :: query:: ast:: * ; 
66
77impl < ' a ,  T :  Text < ' a > >  Document < ' a ,  T > 
8- where 
9-     T :  Text < ' a > , 
108{ 
119    /// Format a document according to style 
1210pub  fn  format ( & self ,  style :  & Style )  -> String  { 
@@ -24,8 +22,6 @@ fn to_string<T: Displayable>(v: &T) -> String {
2422} 
2523
2624impl < ' a ,  T :  Text < ' a > >  Displayable  for  Document < ' a ,  T > 
27- where 
28-     T :  Text < ' a > , 
2925{ 
3026    fn  display ( & self ,  f :  & mut  Formatter )  { 
3127        for  item in  & self . definitions  { 
3531} 
3632
3733impl < ' a ,  T :  Text < ' a > >  Displayable  for  Definition < ' a ,  T > 
38- where 
39-     T :  Text < ' a > , 
4034{ 
4135    fn  display ( & self ,  f :  & mut  Formatter )  { 
4236        match  * self  { 
4741} 
4842
4943impl < ' a ,  T :  Text < ' a > >  Displayable  for  OperationDefinition < ' a ,  T > 
50- where 
51-     T :  Text < ' a > , 
5244{ 
5345    fn  display ( & self ,  f :  & mut  Formatter )  { 
5446        match  * self  { 
6153} 
6254
6355impl < ' a ,  T :  Text < ' a > >  Displayable  for  FragmentDefinition < ' a ,  T > 
64- where 
65-     T :  Text < ' a > , 
6656{ 
6757    fn  display ( & self ,  f :  & mut  Formatter )  { 
6858        f. margin ( ) ; 
8272} 
8373
8474impl < ' a ,  T :  Text < ' a > >  Displayable  for  SelectionSet < ' a ,  T > 
85- where 
86-     T :  Text < ' a > , 
8775{ 
8876    fn  display ( & self ,  f :  & mut  Formatter )  { 
8977        f. margin ( ) ; 
9785} 
9886
9987impl < ' a ,  T :  Text < ' a > >  Displayable  for  Selection < ' a ,  T > 
100- where 
101-     T :  Text < ' a > , 
10288{ 
10389    fn  display ( & self ,  f :  & mut  Formatter )  { 
10490        match  * self  { 
11096} 
11197
11298fn  format_arguments < ' a ,  T :  Text < ' a > > ( arguments :  & [ ( T :: Value ,  Value < ' a ,  T > ) ] ,  f :  & mut  Formatter ) 
113- where 
114-     T :  Text < ' a > , 
11599{ 
116100    if  !arguments. is_empty ( )  { 
117101        f. start_argument_block ( '(' ) ; 
@@ -131,8 +115,6 @@ where
131115} 
132116
133117impl < ' a ,  T :  Text < ' a > >  Displayable  for  Field < ' a ,  T > 
134- where 
135-     T :  Text < ' a > , 
136118{ 
137119    fn  display ( & self ,  f :  & mut  Formatter )  { 
138120        f. indent ( ) ; 
@@ -157,8 +139,6 @@ where
157139} 
158140
159141impl < ' a ,  T :  Text < ' a > >  Displayable  for  Query < ' a ,  T > 
160- where 
161-     T :  Text < ' a > , 
162142{ 
163143    fn  display ( & self ,  f :  & mut  Formatter )  { 
164144        f. margin ( ) ; 
@@ -188,8 +168,6 @@ where
188168} 
189169
190170impl < ' a ,  T :  Text < ' a > >  Displayable  for  Mutation < ' a ,  T > 
191- where 
192-     T :  Text < ' a > , 
193171{ 
194172    fn  display ( & self ,  f :  & mut  Formatter )  { 
195173        f. margin ( ) ; 
@@ -219,8 +197,6 @@ where
219197} 
220198
221199impl < ' a ,  T :  Text < ' a > >  Displayable  for  Subscription < ' a ,  T > 
222- where 
223-     T :  Text < ' a > , 
224200{ 
225201    fn  display ( & self ,  f :  & mut  Formatter )  { 
226202        f. margin ( ) ; 
@@ -248,8 +224,6 @@ where
248224} 
249225
250226impl < ' a ,  T :  Text < ' a > >  Displayable  for  VariableDefinition < ' a ,  T > 
251- where 
252-     T :  Text < ' a > , 
253227{ 
254228    fn  display ( & self ,  f :  & mut  Formatter )  { 
255229        f. write ( "$" ) ; 
@@ -264,8 +238,6 @@ where
264238} 
265239
266240impl < ' a ,  T :  Text < ' a > >  Displayable  for  Type < ' a ,  T > 
267- where 
268-     T :  Text < ' a > , 
269241{ 
270242    fn  display ( & self ,  f :  & mut  Formatter )  { 
271243        match  * self  { 
@@ -284,8 +256,6 @@ where
284256} 
285257
286258impl < ' a ,  T :  Text < ' a > >  Displayable  for  Value < ' a ,  T > 
287- where 
288-     T :  Text < ' a > , 
289259{ 
290260    fn  display ( & self ,  f :  & mut  Formatter )  { 
291261        match  * self  { 
@@ -334,8 +304,6 @@ where
334304} 
335305
336306impl < ' a ,  T :  Text < ' a > >  Displayable  for  InlineFragment < ' a ,  T > 
337- where 
338-     T :  Text < ' a > , 
339307{ 
340308    fn  display ( & self ,  f :  & mut  Formatter )  { 
341309        f. indent ( ) ; 
@@ -355,8 +323,6 @@ where
355323} 
356324
357325impl < ' a ,  T :  Text < ' a > >  Displayable  for  TypeCondition < ' a ,  T > 
358- where 
359-     T :  Text < ' a > , 
360326{ 
361327    fn  display ( & self ,  f :  & mut  Formatter )  { 
362328        match  * self  { 
@@ -369,8 +335,6 @@ where
369335} 
370336
371337impl < ' a ,  T :  Text < ' a > >  Displayable  for  FragmentSpread < ' a ,  T > 
372- where 
373-     T :  Text < ' a > , 
374338{ 
375339    fn  display ( & self ,  f :  & mut  Formatter )  { 
376340        f. indent ( ) ; 
@@ -382,8 +346,6 @@ where
382346} 
383347
384348impl < ' a ,  T :  Text < ' a > >  Displayable  for  Directive < ' a ,  T > 
385- where 
386-     T :  Text < ' a > , 
387349{ 
388350    fn  display ( & self ,  f :  & mut  Formatter )  { 
389351        f. write ( "@" ) ; 
0 commit comments