Skip to content

Improve enum variants display - #43795

Merged
bors merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:improve-variants-doc-style
Aug 11, 2017
Merged

Improve enum variants display#43795
bors merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:improve-variants-doc-style

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
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

QuietMisdreavus commented Aug 10, 2017

Copy link
Copy Markdown
Contributor

r=me pending travis

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

@GuillaumeGomez

Copy link
Copy Markdown
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
Copy Markdown
Contributor

(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
Copy Markdown
Member Author

@bors: r=QuietMisdreavus rollup

@bors

bors commented Aug 11, 2017

Copy link
Copy Markdown
Collaborator

📌 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