- 21 1月, 2015 37 次提交
-
-
由 bors 提交于
Continuation of https://github.com/rust-lang/rust/pull/21428
-
由 Alex Crichton 提交于
-
由 bors 提交于
Only made 2 changes: 1) Update the year to 2015 in LICENSE-MIT 2) Update the year in COPYRIGHT No other changes were made.
-
由 Barosl LEE 提交于
It got accidentially reverted in 44440e5c.
-
由 Barosl LEE 提交于
This should have been done together with 56dcbd17 for rust-lang/rust#20361
-
由 Barosl LEE 提交于
Multiple people have asked me if this is a reference to Hacker News, and I _certainly_ don't want to give them that impression.
-
由 Barosl LEE 提交于
This is caught in borrowck now, but catching in typeck is faster and improves diagnostics. CC #17561. r? @nikomatsakis
-
由 Barosl LEE 提交于
closes #21402 cc #15294 r? @alexcrichton or @aturon cc @ExpHP (btw, this only covers arrays with arity up to 32)
-
由 Barosl LEE 提交于
611ef49f removed all the metrics stuff from tests.mk, but this meant that `PLEASE_BENCH=1` no longer did anything. Fixes #21324.
-
由 Barosl LEE 提交于
**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
-
由 Barosl LEE 提交于
r? @alexcrichton
-
由 Barosl LEE 提交于
Fixes #21384
-
由 Barosl LEE 提交于
-
由 Barosl LEE 提交于
example: let m = "hello \ world";
-
由 Barosl LEE 提交于
`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 ```
-
由 Barosl LEE 提交于
After PR #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).
-
由 Barosl LEE 提交于
Updated `tidy.py` to skip printing NOTEs if the [`TRAVIS`](http://docs.travis-ci.com/user/ci-environment/#Environment-variables) environment variable is set.
-
由 Barosl LEE 提交于
From std::markers to std::marker.
-
由 Barosl LEE 提交于
-
由 Barosl LEE 提交于
Having both "Right now" and "at the moment" in the same statement is redundant.
-
由 Barosl LEE 提交于
Why not use what is there?
-
由 Barosl LEE 提交于
The reference should be `x`, not `FOO` itself.
-
由 Barosl LEE 提交于
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 #20095 @Jurily, your input is welcome!
-
由 Barosl LEE 提交于
Contribution from @look! Addresses https://github.com/rust-lang/rust/issues/21329
-
由 Barosl LEE 提交于
Two errors in `std::sync` are currently missing implementations of the standard error trait because they contain types which aren't `Send`. This PR therefore requires #21312.
-
由 Barosl LEE 提交于
Now both the enum values and the prose describing them mention the values in the same order.
-
由 Barosl LEE 提交于
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 #21286. This PR is dedicated to @substars and nano-lovers everywhere.
-
由 Barosl LEE 提交于
See [this document](https://gist.github.com/0xabad1dea/8870b192fd1758743f66) by @0xabad1dea for the rationale.
-
由 Barosl LEE 提交于
As discussed with @aturon, this PR removes the `Send` bound from `std::error::Error`, allowing us to implement `Error` for error types containing non-`Send` types. Current examples include `PoisonError` and `TryLockError` from `std::sync` which contain a Guard that we don't want sent between tasks. [breaking-change]
-
由 Barosl LEE 提交于
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 #13622.
-
由 Barosl LEE 提交于
-
由 Barosl LEE 提交于
Wrong verb.
-
由 Barosl LEE 提交于
More [u]int => [i|u]size and [i|u] => [i|u]s changes
-
由 Barosl LEE 提交于
This removes the extra "the" from the phrase "the the Rust Programming Language book", which isn't particularly grammatical, in stub documents introduced in #20802 to direct users from the old guides to the corresponding sections of the book.
-
由 Barosl LEE 提交于
There are a large number of places that incorrectly refer to deriving in comments, instead of derives. If someone could look at src/etc/generate-deriving-span-tests.py, I'm not sure how those tests were passing before/if they were.
-
由 Steve Klabnik 提交于
Multiple people have asked me if this is a reference to Hacker News, and I _certainly_ don't want to give them that impression.
-
由 bors 提交于
Original [issue](https://github.com/rust-lang/rust/issues/19278) that inspired this patch. The [reference.md] has evolved past simple grammatical constructs, and it serves a different purpose. The intent for the proposed _grammar.md_ is to hold **only** the official reference for the language grammar. This document would keep track of grammatical changes to the language over time, facilitate discussions over proposed changes to the existing grammar, and serve as basis for building parsers by third-parties (IDE's, GitHub linguist, CodeMirror, etc.). The current state of the PR contains all the grammars that were available in [reference.md] and nothing else. There are still a lot of missing pieces that weren't available. The following are just a few of the definitions missing: - [Functions](https://github.com/icorderi/rust/blob/docs/grammar/src/doc/grammar.md#functions) - [Structures](https://github.com/icorderi/rust/blob/docs/grammar/src/doc/grammar.md#structures) - [Traits](https://github.com/icorderi/rust/blob/docs/grammar/src/doc/grammar.md#traits) - [Implementations](https://github.com/icorderi/rust/blob/docs/grammar/src/doc/grammar.md#implementations) - [Operators](https://github.com/icorderi/rust/blob/docs/grammar/src/doc/grammar.md#unary-operator-expressions) - [Statements](https://github.com/icorderi/rust/blob/docs/grammar/src/doc/grammar.md#statements) - [Expressions](https://github.com/icorderi/rust/blob/docs/grammar/src/doc/grammar.md#expressions) [reference.md]: https://github.com/rust-lang/rust/blob/master/src/doc/reference.md We need help from people familiar with those grammatical constructs to fill in the missing pieces.
-
- 20 1月, 2015 3 次提交
-
-
由 Seo Sanghyeon 提交于
-
由 bors 提交于
Closes #21350
-
由 bors 提交于
The script is intended as a tool for doing every sort of verifications amenable to Rustdoc's HTML output. For example, link checkers would go to this script. It already parses HTML into a document tree form (with a slight caveat), so future tests can make use of it. As an example, relevant `rustdoc-*` run-make tests have been updated to use `htmldocck.py` and got their `verify.sh` removed. In the future they may go to a dedicated directory with htmldocck running by default. The detailed explanation of test scripts is provided as a docstring of htmldocck. cc #19723
-