rustdoc converts byte literal discriminants into decimal numbers #128347
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
T-rustdoc-frontend
Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
For some code that generates my command prompt, I use a single ASCII character for the discriminant of an enum:
However, rustdoc displays this as:
Personally, I think that rustdoc should try to display the literal as it was originally written, rather than converting it to a plain integer.
Meta
rustdoc --version --verbose
:The text was updated successfully, but these errors were encountered: