- 21 1月, 2015 40 次提交
-
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 bors 提交于
There's only one build-critical path in which perl is used, and it was to do a text replacement trivially achievable with sed(1). I ported the indenter script because it [appears to be used][indenter], but removed check links because it appears to be entirely out of date. [indenter]: https://github.com/rust-lang/rust/blob/master/src/librustc/util/common.rs#L60-70
-
由 bors 提交于
As discussed with @aturon I added implementations of various op traits for references to built-in types which was already suggested by the ops reform RFC. The 2nd commit updates the module documentation of core::ops to fully reflect the recent change from pass-by-reference to pass-by-value and expands on the implications for generic code.
-
由 bors 提交于
r? @alexcrichton
-
由 bors 提交于
Removed use of unused LDPATH variable on Windows as is done for other platforms, and added GCC flag to ensure MINGW's ANSI compatible STDIO functions are used wherever available (required by jemalloc). Without these changes it ends up setting the PATH twice, and the second time the PATH begins with `:` which is invalid. Also the regular msvcrt printf-like functions would be used which don't understand stuff like %hhd and %z which jemalloc uses. This change ought not to make any difference to the output but it fixes the build process for me since at least my build environment couldn't handle that broken path caused by LDPATH being empty.
-
由 bors 提交于
Continuation of https://github.com/rust-lang/rust/pull/21428
-
由 Sebastian Gesemann 提交于
-
由 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.
-