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 12 pull requests #34200

Merged
merged 26 commits into from
Jun 10, 2016
Merged

Rollup of 12 pull requests #34200

merged 26 commits into from
Jun 10, 2016

Conversation

srinivasreddy and others added 26 commits June 5, 2016 11:53
The book's "Error handling with Box<Error>" section talks about Box<Error>.
In the actual example Box<Error + Send + Sync> is used instead so that the
corresponding From impls could be used to convert a plain string to an error
type. Rust 1.7 added support for conversion from &str/String to
Box<Error>, so this gotcha and later references to it can now be removed.
One of the newest versions of MSYS2 now only has one .cmd file which replaces the old bat files. It has to be used to launch the mingw32/64 shell.
Fixed: conflicting spelling of "Jon Snow"
Fixed: It's call "Night's Watch"
Collect the results to a String to make it clear that it will not always
return only one char and add examples showing that.
The whole example is made around movies reviews, but that one line says "review some books".
Also, do not repeat name of type
run rustfmt on map.rs in libcollections/btree folder
…veklabnik

Remove a gotcha from book/error-handling.md

The book's "Error handling with `Box<Error>`" section talks about `Box<Error>`. In the actual example `Box<Error + Send + Sync>` is used instead so that the corresponding From impls could be used to convert a plain string to an error type. Rust 1.7 added support for conversion from `&str`/`String` to
`Box<Error>`, so this gotcha and later references to it can now be removed.

r? @steveklabnik
docs: simplify wording

It took me more then a moment to decipher "with no non-`'static`" thing :)

"`'static` type" should say the same thing more clearly.

r? @steveklabnik
…agisa

run rustfmt on librustc_bitflags folder
Updated README to account for changes in MSYS2

One of the newest versions of MSYS2 now only has one .cmd file which replaces the old bat files. It has to be used to launch the mingw32/64 shell.
…umeGomez

Fixed two little Game Of Thrones References

Fixed: conflicting spelling of "Jon Snow"
Fixed: It's call "Night's Watch"
docs: Improve char::to_{lower,upper}case examples

Collect the results to a String to make it clear that it will not always
return only one char and add examples showing that.

r? @steveklabnik
Fix BTreeMap example typo

The whole example is made around movies reviews, but that one line says "review some books".
…klabnik

doc: intro should be 1 sentence

Also, do not repeat name of type
@rust-highfive
Copy link
Collaborator

r? @aturon

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

@sanxiyn
Copy link
Member Author

sanxiyn commented Jun 10, 2016

@bors r+ p=1

@bors
Copy link
Contributor

bors commented Jun 10, 2016

📌 Commit 107d423 has been approved by sanxiyn

@bors
Copy link
Contributor

bors commented Jun 10, 2016

⌛ Testing commit 107d423 with merge a267d6c...

bors added a commit that referenced this pull request Jun 10, 2016
Rollup of 12 pull requests

- Successful merges: #34088, #34129, #34136, #34145, #34146, #34148, #34159, #34160, #34165, #34175, #34184, #34185
- Failed merges:
@bors bors merged commit 107d423 into rust-lang:master Jun 10, 2016
@sanxiyn sanxiyn deleted the rollup branch June 11, 2016 05:46
@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.