-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: color the question mark operator #37102
Conversation
The idea was proposed by eddyb in: rust-lang#31436 (comment)
(rust_highfive has picked a reviewer for you, use r? to override) |
cc @GuillaumeGomez for the case you haven't seen it yet. |
I don't like '?'. :'( I thought question mark was considered explicit enough by himself. |
Otherwise it's a nice idea. Just want others' opinion. |
Why not bold + max saturation? |
Me neither in fact. But decision was to stabilize it, so we have to live with it :/. This PR intends to highlight |
It's either the font or the color-abusing scheme that makes it hard to spot. At least bold is slightly better. |
Yes, its far from perfect, but it improves the situation. I don't have much skills in this kind of work either. I have tried changing the background color, but couldn't come up with anything that didn't look totally ugly until I went with normal backgrounds and copied the line number's color for the font. If nobody has ideas to make it better, changes to make |
@est31: try with |
I think it's a good idea to highlight, I don't have strong feelings about the details. |
80d1590
to
87cbfb4
Compare
New screenshot please. :D |
📌 Commit 87cbfb4 has been approved by |
⌛ Testing commit 87cbfb4 with merge e6c01bf... |
💔 Test failed - auto-linux-cross-opt |
Okay this is frustrating so I'l speak again: IMO the way the scheme uses bright words for common colors is dumb. It makes it impossible to bring attention to anything when you have a colorfest. |
Hmm should that failure be a concern for me? The error seems to be:
|
Everything is failing thereb build bots not set up right. |
@bors retry |
…laumeGomez rustdoc: color the question mark operator The idea of coloring `?` specially was proposed by @eddyb in: rust-lang#31436 (comment)
The idea of coloring
?
specially was proposed by @eddyb in: #31436 (comment)