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

Rollup of 7 pull requests #39769

Merged
merged 18 commits into from Feb 12, 2017
Merged

Rollup of 7 pull requests #39769

merged 18 commits into from Feb 12, 2017

Conversation

ollie27 and others added 18 commits February 8, 2017 21:15
Currently attributes are only shown for structs, unions and enums but
they should be shown for all items. For example it is useful to know if a
function is `#[no_mangle]`.
Clarified potential ambiguity.
…aumeGomez

rustdoc: Show attributes on all item types

Currently attributes are only shown for structs, unions and enums but
they should be shown for all items. For example it is useful to know if a
function is `#[no_mangle]`.
…, r=aturon

rustdoc: Only include a stability span if needed.

This patch gets rid of the empty stability boxes in docs by only including the span that creates it when the item actually has a stability class.

Here are images of the issue on `std::process::Output`:

Before:

<img width="340" alt="before" src="https://cloud.githubusercontent.com/assets/122457/22853638/ff88d1b2-f010-11e6-90d6-bf3d10e2fffa.png">

After:

<img width="333" alt="after" src="https://cloud.githubusercontent.com/assets/122457/22853639/06bfe7cc-f011-11e6-9892-f0ea2cc6ec90.png">

This is my first non-trivial patch to Rust, so I'm sure some of my approach is not idiomatic. Let me know how you'd like me to adjust!
… r=alexcrichton

Add tested item in the rustdoc --test output

r? @alexcrichton

cc @SergioBenitez
…r=steveklabnik

Sustitutes try! for ? in the Result documentation

Hopefully newcomers will go strait to use `?`
…aumeGomez

Improve grammar on field init docs
@rust-highfive
Copy link
Collaborator

r? @steveklabnik

(rust_highfive has picked a reviewer for you, use r? to override)

@GuillaumeGomez
Copy link
Member Author

@bors: r+ p=10

@bors
Copy link
Contributor

bors commented Feb 12, 2017

📌 Commit 2f3dc95 has been approved by GuillaumeGomez

@bors
Copy link
Contributor

bors commented Feb 12, 2017

⌛ Testing commit 2f3dc95 with merge 81bd267...

bors added a commit that referenced this pull request Feb 12, 2017
Rollup of 7 pull requests

- Successful merges: #39654, #39662, #39697, #39740, #39743, #39756, #39760
- Failed merges:
@bors
Copy link
Contributor

bors commented Feb 12, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: GuillaumeGomez
Pushing 81bd267 to master...

@bors bors merged commit 2f3dc95 into rust-lang:master Feb 12, 2017
@bors bors mentioned this pull request Feb 12, 2017
@GuillaumeGomez GuillaumeGomez deleted the rollup branch February 13, 2017 10:54
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet