File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
compiler/crates/graphql-syntax/src/node Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ impl ConstantValue {
8080impl fmt:: Display for ConstantValue {
8181 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
8282 match self {
83- ConstantValue :: Int ( value) => f. write_fmt ( format_args ! ( "{}" , value ) ) ,
84- ConstantValue :: Float ( value) => f. write_fmt ( format_args ! ( "{}" , value ) ) ,
85- ConstantValue :: String ( value) => f. write_fmt ( format_args ! ( "\" {}\" " , value ) ) ,
86- ConstantValue :: Boolean ( value) => f. write_fmt ( format_args ! ( "{}" , value ) ) ,
83+ ConstantValue :: Int ( value) => f. write_fmt ( format_args ! ( "{value}" ) ) ,
84+ ConstantValue :: Float ( value) => f. write_fmt ( format_args ! ( "{value }" , ) ) ,
85+ ConstantValue :: String ( value) => f. write_fmt ( format_args ! ( "\" {value }\" " ) ) ,
86+ ConstantValue :: Boolean ( value) => f. write_fmt ( format_args ! ( "{value}" ) ) ,
8787 ConstantValue :: Null ( _) => f. write_str ( "null" ) ,
88- ConstantValue :: Enum ( value) => f. write_fmt ( format_args ! ( "{}" , value ) ) ,
88+ ConstantValue :: Enum ( value) => f. write_fmt ( format_args ! ( "{value}" ) ) ,
8989 ConstantValue :: List ( value) => f. write_fmt ( format_args ! (
9090 "[{}]" ,
9191 value
You can’t perform that action at this time.
0 commit comments