Skip to content

Rollup of 12 pull requests - #34200

Merged
bors merged 26 commits into
rust-lang:masterfrom
sanxiyn:rollup
Jun 10, 2016
Merged

Rollup of 12 pull requests#34200
bors merged 26 commits into
rust-lang:masterfrom
sanxiyn:rollup

Conversation

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

r? @aturon

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

@sanxiyn

Copy link
Copy Markdown
ContributorAuthor

@bors r+ p=1

@bors

bors commented Jun 10, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 107d423 has been approved by sanxiyn

@bors

bors commented Jun 10, 2016

Copy link
Copy Markdown
Collaborator

⌛ 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:masterJun 10, 2016
@sanxiyn
sanxiyn deleted the rollup branch June 11, 2016 05:46
@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.

15 participants

@sanxiyn@rust-highfive@bors@aturon@Centril@srinivasreddy@jviide@imjacobclark@matklad@seventh-chord@hoodie@ollie27@rwz@euclio@tshepang