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 13 pull requests #21383

Closed
wants to merge 27 commits into from
Closed

Conversation

visualfc and others added 27 commits January 14, 2015 09:45
example:
let m = "hello \
           world";
Removes extra "the" from the phrase "the the Rust Programming Language
book", which isn't particularly grammatical.
Brings the rustdoc man page in sync with the options specified in
src/librustdoc/lib.rs. The text was taken verbatim, but I tweaked the
order to be (what I think is) somewhat logical.
rust.nanorc provides syntax highlighting for Rust. An attempt has been made to
make the syntax highlighting look good on both dark and light terminals.
Issue rust-lang#21286.
The reference should be `x`, not `FOO` itself.
It got accidentially reverted in 44440e5.
Having both "Right now" and "at the moment" in the same statement is redundant.
From std::markers to std::marker.
'x in y' is more Pythonic and faster than 'y.find(x) != -1'.
…r=alexcrichton

This removes the extra "the" from the phrase "the the Rust Programming Language book", which isn't particularly grammatical, in stub documents introduced in rust-lang#20802 to direct users from the old guides to the corresponding sections of the book.
More [u]int => [i|u]size and [i|u] => [i|u]s changes
…ster

Brings the rustdoc man page in sync with the options specified in
src/librustdoc/lib.rs. The text was taken verbatim, but I tweaked the
order to be (what I think is) somewhat logical.

This should close rust-lang#13622.
…callister

rust.nanorc provides syntax highlighting for Rust. An attempt has been made to make the syntax highlighting look good on both dark and light terminals. Issue rust-lang#21286.

This PR is dedicated to @substars and nano-lovers everywhere.
The reference should be `x`, not `FOO` itself.
Having both "Right now" and "at the moment" in the same statement is redundant.
…ichton

From std::markers to std::marker.
After PR rust-lang#19766 added implicit coersions `*mut T -> *const T`, the explicit casts can be removed.
(The number of such casts turned out to be relatively small).
`x in y` is more Pythonic than `y.find(x) != -1`. I believe it runs quite a bit faster as well (though it's probably not a bottleneck of the Travis builds):

```bash
$ python -m timeit '"abc".find("a") != -1'
1000000 loops, best of 3: 0.218 usec per loop
$ python -m timeit '"a" in "abc"'
10000000 loops, best of 3: 0.0343 usec per loop
```
…excrichton

It got accidentially reverted in 44440e5.
@rust-highfive
Copy link
Contributor

r? @pcwalton

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

@alexcrichton
Copy link
Member Author

Just testing out the waters, neat!

@alexcrichton alexcrichton deleted the rollup branch January 19, 2015 02:05
@barosl
Copy link
Contributor

barosl commented Jan 19, 2015

Though I found a possible bug. The PRs are not merged in the right order! I will be happy if they are sorted by the PR number.

@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.