We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c4b4c4 commit bea2c59Copy full SHA for bea2c59
src/libproc_macro/bridge/client.rs
@@ -205,6 +205,7 @@ impl Clone for Literal {
205
impl fmt::Debug for Literal {
206
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
207
f.debug_struct("Literal")
208
+ // format the kind without quotes, as in `kind: Float`
209
.field("kind", &format_args!("{}", &self.debug_kind()))
210
.field("symbol", &self.symbol())
211
// format `Some("...")` on one line even in {:#?} mode
0 commit comments