- 11 6月, 2015 1 次提交
-
-
由 Joshua Landau 提交于
-
- 10 6月, 2015 34 次提交
-
-
由 bors 提交于
Gets libsyntax one step closer to running on stable (see #24518). Closes #24757, erickt's previous attempt at this.
-
由 bors 提交于
Fixes #26127
-
由 bors 提交于
Fixes #25623 I am bad with BNF, so I may have messed this up, but that's what review is for!
-
由 bors 提交于
This can be confusing when whitespace is the separator Fixes #25986
-
由 bors 提交于
Closes #15609
-
由 bors 提交于
Before: 581.72user 4.75system 7:42.74elapsed 126%CPU (0avgtext+0avgdata 1176224maxresident)k llvm took 359.183 After: 550.63user 5.09system 7:20.28elapsed 126%CPU (0avgtext+0avgdata 1165516maxresident)k llvm took 354.801
-
由 Eduard Burtescu 提交于
-
由 bors 提交于
Fixes #25794
-
由 Björn Steinbrink 提交于
Fixes #26127
-
由 bors 提交于
- Successful merges: #26111, #26125, #26129, #26131, #26132, #26133, #26134, #26136, #26140, #26144 - Failed merges:
-
由 Steve Klabnik 提交于
Fixes #25851 I am 99% sure this is true for all `static`s and not just `static mut`, yes?
-
由 Steve Klabnik 提交于
As this example got changed, we stopped showing how to return self as the first example, so this text is outdated. Fixes #25803
-
由 Steve Klabnik 提交于
Fixes #25597
-
由 Steve Klabnik 提交于
After talking with @graydon on #rust-internals, this is hopefully clarifying. Fixes #25586 @mkpankov, what do you think?
-
由 Steve Klabnik 提交于
This obscures more than it helps. Fixes #25573
-
由 Steve Klabnik 提交于
Hi, I think the second example fails rule 3 described immediately above. This PR fixes that.
-
由 Steve Klabnik 提交于
Hi, I think the comments are wrong in the example and this PR offers my suggested fix.
-
由 Steve Klabnik 提交于
Fixes #26012
-
由 Steve Klabnik 提交于
The text claimed 'any borrow must last for a _smaller_ scope than the owner', however the accurate way of describing the comparison is inclusive (i.e., 'less than or equal to' vs. 'less than').
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
Fixes #25851
-
由 bors 提交于
* Add “complex” mappings to `char::to_lowercase` and `char::to_uppercase`, making them yield sometimes more than on `char`: #25800. `str::to_lowercase` and `str::to_uppercase` are affected as well. * Add `char::to_titlecase`, since it’s the same algorithm (just different data). However this does **not** add `str::to_titlecase`, as that would require UAX#29 Unicode Text Segmentation which we decided not to include in of `std`: https://github.com/rust-lang/rfcs/pull/1054 I made `char::to_titlecase` immediately `#[stable]`, since it’s so similar to `char::to_uppercase` that’s already stable. Let me know if it should be `#[unstable]` for a while. * Add a special case for upper-case Sigma in word-final position in `str::to_lowercase`: #26035. This is the only language-independent conditional mapping currently in `SpecialCasing.txt`. * Stabilize `str::to_lowercase` and `str::to_uppercase`. The `&self -> String` on `str` signature seems straightforward enough, and the only relevant issue I’ve found is #24536 about naming. But `char` already has stable methods with the same name, and deprecating them for a rename doesn’t seem worth it. r? @alexcrichton
-
由 Steve Klabnik 提交于
As this example got changed, we stopped showing how to return self as the first example, so this text is outdated. Fixes #25803
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
Fixes #26012
-
由 Steve Klabnik 提交于
Fixes #25623
-
由 Steve Klabnik 提交于
Fixes #25597
-
由 Steve Klabnik 提交于
After talking with @graydon on #rust-internals, this is hopefully clarifying. Fixes #25586
-
由 Steve Klabnik 提交于
This obscures more than it helps. Fixes #25573
-
由 Andrew Straw 提交于
-
由 Andrew Straw 提交于
-
由 Steve Klabnik 提交于
This can be confusing when whitespace is the separator Fixes #25986
-
由 bors 提交于
On MSVC there are two ways that the CRT can be linked, either statically or dynamically. Each object file produced by the compiler is compiled against msvcrt (a dll) or libcmt (a static library). When the linker is dealing with more than one object file, it requires that all object files link to the same CRT, or else the linker will spit out some errors. For now, compile code with `-MD` as it seems to appear more often in C libraries so we'll stick with the same trend.
-
由 simplex 提交于
The text claimed 'any borrow must last for a _smaller_ scope than the owner', however the accurate way of describing the comparison is inclusive (i.e., 'less than or equal to' vs. 'less than').
-
- 09 6月, 2015 5 次提交
-
-
由 Marvin Löbel 提交于
Added LvaluePreference::from_mutbl Closes #15609
-
由 Simon Sapin 提交于
-
由 Simon Sapin 提交于
-
由 bors 提交于
r? @alexcrichton
-
由 bors 提交于
test: Display benchmark results with thousands separators Example display: ``` running 9 tests test a ... bench: 0 ns/iter (+/- 0) test b ... bench: 52 ns/iter (+/- 0) test c ... bench: 88 ns/iter (+/- 0) test d ... bench: 618 ns/iter (+/- 111) test e ... bench: 5,933 ns/iter (+/- 87) test f ... bench: 59,280 ns/iter (+/- 1,052) test g ... bench: 588,672 ns/iter (+/- 3,381) test h ... bench: 5,894,227 ns/iter (+/- 303,489) test i ... bench: 59,112,382 ns/iter (+/- 1,500,110) ``` Fixes #10953 Fixes #26109
-