Skip to content
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

Improve enum variants display #43795

Merged
merged 1 commit into from
Aug 11, 2017

Conversation

GuillaumeGomez
Copy link
Member

r? @rust-lang/docs

Before:

screen shot 2017-08-11 at 00 22 54

After:

screen shot 2017-08-11 at 00 22 57

(The doc of the variant is more aligned with the "[-]" now).

@QuietMisdreavus
Copy link
Member

QuietMisdreavus commented Aug 10, 2017

r=me pending travis

(i really doubt it affects anything that travis will catch, but this is my protocol >_>)

@GuillaumeGomez
Copy link
Member Author

With 5px:

screen shot 2017-08-11 at 00 32 21

@GuillaumeGomez GuillaumeGomez force-pushed the improve-variants-doc-style branch from 87cd3e7 to b617200 Compare August 10, 2017 22:34
@QuietMisdreavus
Copy link
Member

(This is about a discussion i brought up in IRC - making it 5px matches the rule underneath it and makes it line up better)

Yes, i like this more - r=me pending travis, again

@GuillaumeGomez
Copy link
Member Author

@bors: r=QuietMisdreavus rollup

@bors
Copy link
Contributor

bors commented Aug 11, 2017

📌 Commit b617200 has been approved by QuietMisdreavus

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Aug 11, 2017
…-style, r=QuietMisdreavus

Improve enum variants display

r? @rust-lang/docs

Before:

<img width="1440" alt="screen shot 2017-08-11 at 00 22 54" src="https://user-images.githubusercontent.com/3050060/29194776-728ce0e2-7e2b-11e7-8299-8300cc0c168b.png">

After:

<img width="1440" alt="screen shot 2017-08-11 at 00 22 57" src="https://user-images.githubusercontent.com/3050060/29194783-78867558-7e2b-11e7-9226-1327fd20163a.png">

(The doc of the variant is more aligned with the "[-]" now).
bors added a commit that referenced this pull request Aug 11, 2017
MaloJaffre added a commit to MaloJaffre/rust that referenced this pull request Aug 11, 2017
…-style, r=QuietMisdreavus

Improve enum variants display

r? @rust-lang/docs

Before:

<img width="1440" alt="screen shot 2017-08-11 at 00 22 54" src="https://user-images.githubusercontent.com/3050060/29194776-728ce0e2-7e2b-11e7-8299-8300cc0c168b.png">

After:

<img width="1440" alt="screen shot 2017-08-11 at 00 22 57" src="https://user-images.githubusercontent.com/3050060/29194783-78867558-7e2b-11e7-9226-1327fd20163a.png">

(The doc of the variant is more aligned with the "[-]" now).
@bors bors merged commit b617200 into rust-lang:master Aug 11, 2017
@GuillaumeGomez GuillaumeGomez deleted the improve-variants-doc-style branch August 11, 2017 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants