- 15 4月, 2015 40 次提交
-
-
由 bors 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
Conflicts: src/librustc/middle/stability.rs
-
由 Alex Crichton 提交于
-
由 bors 提交于
-
由 Brian Anderson 提交于
-
由 Alex Crichton 提交于
Conflicts: src/libstd/thread/mod.rs src/test/bench/shootout-mandelbrot.rs src/test/bench/shootout-reverse-complement.rs src/test/run-pass/capturing-logging.rs src/test/run-pass/issue-9396.rs src/test/run-pass/tcp-accept-stress.rs src/test/run-pass/tcp-connect-timeouts.rs src/test/run-pass/tempfile.rs
-
由 Alex Crichton 提交于
Conflicts: src/libstd/net/ip.rs src/libstd/sys/unix/fs.rs src/libstd/sys/unix/mod.rs src/libstd/sys/windows/mod.rs
-
由 Alex Crichton 提交于
Not sure if `From<Error>` is the correct way to reference that trait (maybe `From<E: Error>`?) r? @steveklabnik
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
The two-step command left off the nightly flag :frown: Thanks @mdinger
-
由 Alex Crichton 提交于
Feel silly because it's just one thing but it was bothering me that the documentation tells you what you're not going to learn now instead of linking to the item in question. Am total noob pls assist, where is power button. :)
-
由 Alex Crichton 提交于
It's no longer a community based project. Also, Rust for Rubyists is deprecated at this point, so we shouldn't link to it anymore.
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
r? @steveklabnik
-
由 Alex Crichton 提交于
Just some minor patches I've been sitting on.
-
由 Alex Crichton 提交于
Fixes #24365
-
由 Alex Crichton 提交于
Fixes #20596 by making `Debug` render negative zero with a `-` without affecting the behavior of `Display`. While I was at it, I also removed some dead code from `float_to_str_bytes_common` (the one from `libcore/fmt/float.rs`, not the function of the same name in `libstd/num/strconv.rs`). It had support for different bases, and for negative numbers, but the function is internal to core and the couple places that call it (all in `libcore/fmt/mod.rs`) never use those features: They pass in `num.abs()` and base 10.
-
由 Alex Crichton 提交于
Values for `_SC_*` are not the same value between `macos` and `linux` so I've added specific target constants for Mac OS X and added `_SC_NPROCESSORS_ONLN` for `linux` and `macos`. Closes #24374
-
由 Alex Crichton 提交于
Fixes #24353
-
由 Alex Crichton 提交于
Remove arity link from enums.md r? @steveklabnik
-
由 Alex Crichton 提交于
It looks like `from_vec` was subsumed by new at some point, but the documentation still refers to it as `from_vec`. This updates the documentation for `from_vec_unchecked` so that it properly says that it's the unchecked version of `new`. Also, from_vec_unchecked requires a actual Vec<u8> while new can take anything that is Into<Vec<u8>>, so I also mention that in the documentation. Since this is documentation: r? @steveklabnik
-
由 Alex Crichton 提交于
- Adds two more functions for broadcast address and special address classes reserved for documentation - Modifies the globally routable IP check to include these new functions Fixes #24314
-
由 Alex Crichton 提交于
It was mistakenly calling `with_extension` with "foo.txt" instead of "txt". I've also added an assert. This also calls more attention to the fact you get back a PathBuf, instead of a Path, which I feel is easy to miss when skimming.
-
由 Alex Crichton 提交于
Only '?' should do that. Fixes #24289.
-
由 Alex Crichton 提交于
Fixes #24319.
-
由 Alex Crichton 提交于
The meaning of each variant of this enum was somewhat ambiguous and it's uncler that we wouldn't even want to add more enumeration values in the future. As a result this error has been altered to instead become an opaque structure. Learning about the "first invalid byte index" is still an unstable feature, but the type itself is now stable.
-
由 Alex Crichton 提交于
This commit removes these long deprecated modules. Such a nice diff stat!
-
由 Alex Crichton 提交于
Three more sections
-
由 Alex Crichton 提交于
Since it doesn't utilize the parameter, it's not very idiomatic since it could just use the `Result::or` method. So this changes the example to utilize the parameter. As far as I can tell, all the numbers in this example are completely arbitrary.
-
由 Steve Klabnik 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
None of these actually compile any more!
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
This apparently fixes obscure bugs on OSX!
-