-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 32 pull requests #21428
Closed
Closed
Rollup of 32 pull requests #21428
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now both the enum values and the prose describing them mention the values in the same order.
example: let m = "hello \ world";
This should have been done together with 56dcbd1 for rust-lang#20361 Signed-off-by: NODA, Kai <[email protected]>
Removes extra "the" from the phrase "the the Rust Programming Language book", which isn't particularly grammatical.
There are a large number of places that incorrectly refer to deriving in comments, instead of derives. Fixes rust-lang#20984
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.
See [https://gist.github.com/0xabad1dea/8870b192fd1758743f66](this document) by @0xabad1dea for the rationale.
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.
Contribution from @look!
Increases the delay of the search box to 500ms after key up. I tried adding a three character minimum for setting the delay, but didn't find it very useful. Should close rust-lang#20095
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.
Only print NOTE warnings if the 'TRAVIS' environment variable has not been set. Addresses rust-lang#21322.
'x in y' is more Pythonic and faster than 'y.find(x) != -1'.
Signed-off-by: Peter Atashian <[email protected]>
This is a breaking change. To fix it you should pass the VecMap by value instead of by reference. [breaking-change]
Having both "Right now" and "at the moment" in the same statement is redundant.
…ichton From std::markers to std::marker.
Updated `tidy.py` to skip printing NOTEs if the [`TRAVIS`](http://docs.travis-ci.com/user/ci-environment/#Environment-variables) environment variable is set.
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 ```
example: let m = "hello \ world";
**Breaking change**: `VecMap::into_iter` now consumes the `VecMap`. To fix it you should pass the VecMap by value instead of by reference. [breaking-change] r? @gankro
611ef49 removed all the metrics stuff from tests.mk, but this meant that `PLEASE_BENCH=1` no longer did anything. Fixes rust-lang#21324.
closes rust-lang#21402 cc rust-lang#15294 r? @alexcrichton or @aturon cc @ExpHP (btw, this only covers arrays with arity up to 32)
This is caught in borrowck now, but catching in typeck is faster and improves diagnostics. CC rust-lang#17561. r? @nikomatsakis
…ichton Multiple people have asked me if this is a reference to Hacker News, and I _certainly_ don't want to give them that impression.
This should have been done together with 56dcbd1 for rust-lang#20361
…excrichton It got accidentially reverted in 44440e5.
(rust_highfive has picked a reviewer for you, use r? to override) |
⌛ Testing commit eace6af with merge b275365... |
💔 Test failed - auto-mac-64-opt |
Continued in #21439 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
make tidy
#21369, Remove unnecessary explicit conversions from *mut T to *const T #21375, Use 'in' instead of 'find()' in tidy.py #21377, fix string multi line connector '\' for kate syntax rust.xml #21123, doc: typo fix #21380, Ranges implement Clone where possible #21386, Fix HMODULE #21387, Fix #21328 #21388, Fixmake check PLEASE_BENCH=1
#21399, impl Hash for arrays #21404, Forbid coercing &T to &mut T #21424, Small fix in TRPL 3.9 #21427, reference.md: change "mod" to "self" in "use" declaration. #21179, Redo Segmented stack support for DragonFly #20991