Skip to content

Rollup of 6 pull requests - #40972

Merged
bors merged 24 commits into
rust-lang:masterfrom
frewsxcv:rollup
Apr 1, 2017
Merged

Rollup of 6 pull requests#40972
bors merged 24 commits into
rust-lang:masterfrom
frewsxcv:rollup

Conversation

GuillaumeGomezand others added 24 commits March 21, 2017 16:23
Original headline of SplitWhitespace's description is more descriptive as to what it contains and iterates over.
…eklabnik
Add missing urls in ptr docs
r? @rust-lang/docs
Make overlapping_inherent_impls lint a hard error
Closesrust-lang#36889.
Add helpful hint in io docs about how ? is not allowed in main()
This is my effort to help alleviate the confusion caused by the error message:
```rust
error[E0277]: the trait bound `(): std::ops::Carrier` is not satisfied
--> hello_world.rs:72:5
|
72 | io::stdin().read_line(&mut d_input)?;
| ------------------------------------
| |
| the trait `std::ops::Carrier` is not implemented for `()`
| in this macro invocation
|
= note: required by `std::ops::Carrier::from_error`
error: aborting due to previous error
```
This has been discussed at length in rust-lang#35946, but I figured it would be helpful to mention in the docs.
Reading user input is one of the first things beginners will look up in the docs, so my thinking was they'd see this warning here and not have to deal with the [tricky error message](https://blog.rust-lang.org/2017/03/02/lang-ergonomics.html).
If you think this isn't the right place to put this in the docs, that's understandable, I'm open to suggestions for putting it elsewhere or removing it entirely.
Adding links for Atomics docs rust-lang#29377
r? @steveklabnik
This should be good for `std::sync::atomic`. The other pages still need more (examples, etc.).
…r=steveklabnik
Modify str Structs descriptions
References rust-lang#29375. Modified descriptions of multiple structs to be more in line with structs found under [`std::iter`](https://doc.rust-lang.org/std/iter/#structs), such as [`Chain`](https://doc.rust-lang.org/std/iter/struct.Chain.html) and [`Enumerate`](https://doc.rust-lang.org/std/iter/struct.Enumerate.html)
…excrichton
Test sort algorithms using a random cmp function
This ensures that sorting using a broken comparison function doesn't panic nor fail in some other way (especially not segfault).
r? @alexcrichton
@frewsxcv

Copy link
Copy Markdown
ContributorAuthor

@bors r+ p=10

@bors

bors commented Mar 31, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 54b3f6a has been approved by frewsxcv

@rust-highfive

Copy link
Copy Markdown
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @BurntSushi (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@bors

bors commented Mar 31, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 54b3f6a with merge 85cf08b...

@bors

bors commented Mar 31, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-appveyor

@frewsxcv

Copy link
Copy Markdown
ContributorAuthor

@bors retry

i think that is #40546

@bors

bors commented Mar 31, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 54b3f6a with merge 2f16528...

bors added a commit that referenced this pull request Mar 31, 2017
Rollup of 6 pull requests
- Successful merges: #40703, #40728, #40763, #40871, #40935, #40947
- Failed merges:
@bors

bors commented Apr 1, 2017

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-appveyor, status-travis
Approved by: frewsxcv
Pushing 2f16528 to master...

@bors
bors merged commit 54b3f6a into rust-lang:masterApr 1, 2017
@CentrilCentril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@frewsxcv@bors@rust-highfive@BurntSushi@Centril@GuillaumeGomez@pirate@projektir@topecongiro@donniebishop