Uh oh!
There was an error while loading. Please reload this page.
rustdoc: color the question mark operator - #37102
Conversation
The idea was proposed by eddyb in: rust-lang#31436 (comment)
rust-highfive
commented
Oct 12, 2016
(rust_highfive has picked a reviewer for you, use r? to override) |
est31
commented
Oct 12, 2016
cc@GuillaumeGomez for the case you haven't seen it yet. |
I don't like '?'. :'(
|
GuillaumeGomez
commented
Oct 12, 2016
Otherwise it's a nice idea. Just want others' opinion. |
eddyb
commented
Oct 12, 2016
Why not bold + max saturation? |
est31
commented
Oct 12, 2016
est31
commented
Oct 12, 2016
Me neither in fact. But decision was to stabilize it, so we have to live with it :/. This PR intends to highlight |
eddyb
commented
Oct 12, 2016
It's either the font or the color-abusing scheme that makes it hard to spot. At least bold is slightly better. |
est31
commented
Oct 12, 2016
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 |
GuillaumeGomez
commented
Oct 12, 2016
@est31: try with |
steveklabnik
commented
Oct 12, 2016
I think it's a good idea to highlight, I don't have strong feelings about the details. |
80d1590 to
87cbfb4CompareGuillaumeGomez
commented
Oct 12, 2016
New screenshot please. :D |
est31
commented
Oct 12, 2016
GuillaumeGomez
commented
Oct 13, 2016
bors
commented
Oct 13, 2016
📌 Commit 87cbfb4 has been approved by |
bors
commented
Oct 13, 2016
⌛ Testing commit 87cbfb4 with merge e6c01bf... |
bors
commented
Oct 13, 2016
💔 Test failed - auto-linux-cross-opt |
eddyb
commented
Oct 13, 2016
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. |
est31
commented
Oct 13, 2016
Hmm should that failure be a concern for me? The error seems to be: |
eddyb
commented
Oct 13, 2016
Everything is failing thereb build bots not set up right. |
arielb1
commented
Oct 13, 2016
@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)