1- use std:: { fmt , sync:: Arc } ;
1+ use std:: sync:: Arc ;
22
33use arcstr:: ArcStr ;
44
@@ -11,7 +11,7 @@ use crate::{
1111 async_await:: GraphQLValueAsync ,
1212 base:: { Arguments , GraphQLType , GraphQLValue } ,
1313 } ,
14- value:: { FromScalarValue , ToScalarValue , ScalarValue } ,
14+ value:: { FromScalarValue , ScalarValue , ToScalarValue } ,
1515} ;
1616
1717impl < S , T > GraphQLType < S > for Box < T >
@@ -122,8 +122,7 @@ where
122122
123123impl < T , S > ToInputValue < S > for Box < T >
124124where
125- S : fmt:: Debug ,
126- T : ToInputValue < S > ,
125+ T : ToInputValue < S > + ?Sized ,
127126{
128127 fn to_input_value ( & self ) -> InputValue < S > {
129128 ( * * self ) . to_input_value ( )
@@ -224,8 +223,7 @@ where
224223
225224impl < T , S > ToInputValue < S > for & T
226225where
227- S : fmt:: Debug ,
228- T : ToInputValue < S > ,
226+ T : ToInputValue < S > + ?Sized ,
229227{
230228 fn to_input_value ( & self ) -> InputValue < S > {
231229 ( * * self ) . to_input_value ( )
@@ -340,8 +338,7 @@ where
340338
341339impl < T , S > ToInputValue < S > for Arc < T >
342340where
343- S : fmt:: Debug ,
344- T : ToInputValue < S > ,
341+ T : ToInputValue < S > + ?Sized ,
345342{
346343 fn to_input_value ( & self ) -> InputValue < S > {
347344 ( * * self ) . to_input_value ( )
0 commit comments