about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-10-18 10:06:23 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2019-10-18 13:26:03 +1100
commit3532863a96499df049589aa5120db149498ab544 (patch)
tree623d834eda8be7e77eb7cffeaa646bb2e11d6f3b /src/libsyntax/parse/parser
parentd8fca9ee4ea9399dc8244f744f0198821d233ecf (diff)
downloadrust-3532863a96499df049589aa5120db149498ab544.tar.gz
rust-3532863a96499df049589aa5120db149498ab544.zip
Change how `Symbol::Debug` works.
Currently, `Symbol::Debug` and `Symbol::Display` produce the same
output; neither wraps the symbol in double quotes.

This commit changes `Symbol::Debug` so it wraps the symbol in quotes.
This change brings `Symbol`'s behaviour in line with `String` and
`InternedString`. The change requires a couple of trivial test output
adjustments.
Diffstat (limited to 'src/libsyntax/parse/parser')
0 files changed, 0 insertions, 0 deletions