Skip to content

Commit 00e0dba

Browse files
committed
fix bug: we dont want to render WithLocation here
1 parent 7442111 commit 00e0dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/graphql_lang_types/src/value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,6 @@ impl<TName, TValue> NameValuePair<TName, TValue> {
131131

132132
impl<TName: fmt::Display, TValue: fmt::Display> fmt::Display for NameValuePair<TName, TValue> {
133133
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
134-
f.write_fmt(format_args!("{}: {}", self.name, self.value))
134+
f.write_fmt(format_args!("{}: {}", self.name.item, self.value.item))
135135
}
136136
}

0 commit comments

Comments
 (0)