diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-10-18 10:06:23 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-10-18 13:26:03 +1100 |
| commit | 3532863a96499df049589aa5120db149498ab544 (patch) | |
| tree | 623d834eda8be7e77eb7cffeaa646bb2e11d6f3b /src/libsyntax/parse/parser | |
| parent | d8fca9ee4ea9399dc8244f744f0198821d233ecf (diff) | |
| download | rust-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
