- 13 11月, 2014 1 次提交
-
-
由 Brendan Zabarauskas 提交于
Num, NumCast, Unsigned, Float, Primitive and Int have been removed.
-
- 07 11月, 2014 1 次提交
-
-
由 Alexis Beingessner 提交于
-
- 29 10月, 2014 1 次提交
-
-
由 Steve Klabnik 提交于
https://github.com/rust-lang/rfcs/pull/221 The current terminology of "task failure" often causes problems when writing or speaking about code. You often want to talk about the possibility of an operation that returns a Result "failing", but cannot because of the ambiguity with task failure. Instead, you have to speak of "the failing case" or "when the operation does not succeed" or other circumlocutions. Likewise, we use a "Failure" header in rustdoc to describe when operations may fail the task, but it would often be helpful to separate out a section describing the "Err-producing" case. We have been steadily moving away from task failure and toward Result as an error-handling mechanism, so we should optimize our terminology accordingly: Result-producing functions should be easy to describe. To update your code, rename any call to `fail!` to `panic!` instead. Assuming you have not created your own macro named `panic!`, this will work on UNIX based systems: grep -lZR 'fail!' . | xargs -0 -l sed -i -e 's/fail!/panic!/g' You can of course also do this by hand. [breaking-change]
-
- 20 10月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
Spring cleaning is here! In the Fall! This commit removes quite a large amount of deprecated functionality from the standard libraries. I tried to ensure that only old deprecated functionality was removed. This is removing lots and lots of deprecated features, so this is a breaking change. Please consult the deprecation messages of the deleted code to see how to migrate code forward if it still needs migration. [breaking-change]
-
- 30 8月, 2014 1 次提交
-
-
由 P1start 提交于
This unifies the `non_snake_case_functions` and `uppercase_variables` lints into one lint, `non_snake_case`. It also now checks for non-snake-case modules. This also extends the non-camel-case types lint to check type parameters, and merges the `non_uppercase_pattern_statics` lint into the `non_uppercase_statics` lint. Because the `uppercase_variables` lint is now part of the `non_snake_case` lint, all non-snake-case variables that start with lowercase characters (such as `fooBar`) will now trigger the `non_snake_case` lint. New code should be updated to use the new `non_snake_case` lint instead of the previous `non_snake_case_functions` and `uppercase_variables` lints. All use of the `non_uppercase_pattern_statics` should be replaced with the `non_uppercase_statics` lint. Any code that previously contained non-snake-case module or variable names should be updated to use snake case names or disable the `non_snake_case` lint. Any code with non-camel-case type parameters should be changed to use camel case or disable the `non_camel_case_types` lint. [breaking-change]
-
- 27 7月, 2014 1 次提交
-
-
由 Brian Anderson 提交于
No longer does anything.
-
- 25 6月, 2014 2 次提交
-
-
由 Patrick Walton 提交于
This will break code like: fn f(x: &mut int) {} let mut a = box 1i; f(a); Change it to: fn f(x: &mut int) {} let mut a = box 1i; f(&mut *a); RFC 33; issue #10504. [breaking-change]
-
由 Niko Matsakis 提交于
This breaks a fair amount of code. The typical patterns are: * `for _ in range(0, 10)`: change to `for _ in range(0u, 10)`; * `println!("{}", 3)`: change to `println!("{}", 3i)`; * `[1, 2, 3].len()`: change to `[1i, 2, 3].len()`. RFC #30. Closes #6023. [breaking-change]
-
- 19 6月, 2014 1 次提交
-
-
由 Brendan Zabarauskas 提交于
This reduces the complexity of the trait hierarchy.
-
- 31 5月, 2014 1 次提交
-
-
由 Kevin Butler 提交于
-
- 28 5月, 2014 1 次提交
-
-
由 Richo Healey 提交于
-
- 23 5月, 2014 1 次提交
-
-
由 Patrick Walton 提交于
[breaking-change]
-
- 14 5月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
* Added `// no-pretty-expanded` to pretty-print a test, but not run it through the `expanded` variant. * Removed #[deriving] and other expanded attributes after they are expanded * Removed hacks around &str and &&str and friends (from both the parser and the pretty printer). * Un-ignored a bunch of tests
-
- 07 5月, 2014 1 次提交
-
-
由 Patrick Walton 提交于
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
-
- 19 4月, 2014 1 次提交
-
-
由 Richo Healey 提交于
-
- 16 4月, 2014 1 次提交
-
-
由 Huon Wilson 提交于
Exposing ctpop, ctlz, cttz and bswap as taking signed i8/i16/... is just exposing the internal LLVM names pointlessly (LLVM doesn't have "signed integers" or "unsigned integers", it just has sized integer types with (un)signed *operations*). These operations are semantically working with raw bytes, which the unsigned types model better.
-
- 14 4月, 2014 1 次提交
-
-
由 Manish Goregaokar 提交于
-
- 21 3月, 2014 3 次提交
-
-
由 Huon Wilson 提交于
(And fix some tests.)
-
由 Patrick Walton 提交于
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
-
由 Patrick Walton 提交于
-
- 20 3月, 2014 1 次提交
-
-
由 Daniel Micay 提交于
Closes #12702
-
- 15 3月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
This commit shreds all remnants of libextra from the compiler and standard distribution. Two modules, c_vec/tempfile, were moved into libstd after some cleanup, and the other modules were moved to separate crates as seen fit. Closes #8784 Closes #12413 Closes #12576
-
- 13 3月, 2014 1 次提交
-
-
由 Palmer Cox 提交于
Most IO related functions return an IoResult so that the caller can handle failure in whatever way is appropriate. However, the `lines`, `bytes`, and `chars` iterators all supress errors. This means that code that needs to handle errors can't use any of these iterators. All three of these iterators were updated to produce IoResults. Fixes #12368
-
- 23 2月, 2014 1 次提交
-
-
由 Brian Anderson 提交于
Issue #1457
-
- 21 2月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
One of the most common ways to use the stdin stream is to read it line by line for a small program. In order to facilitate this common usage pattern, this commit changes the stdin() function to return a BufferedReader by default. A new `stdin_raw()` method was added to get access to the raw unbuffered stream. I have not changed the stdout or stderr methods because they are currently unable to flush in their destructor, but #12403 should have just fixed that.
-
- 15 2月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
This was previously implemented, and it just needed a snapshot to go through
-
- 12 2月, 2014 1 次提交
-
-
由 Florian Hahn 提交于
-
- 21 1月, 2014 1 次提交
-
-
由 Huon Wilson 提交于
-
- 18 1月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
* Reexport io::mem and io::buffered structs directly under io, make mem/buffered private modules * Remove with_mem_writer * Remove DEFAULT_CAPACITY and use DEFAULT_BUF_SIZE (in io::buffered)
-
- 05 1月, 2014 1 次提交
-
-
由 Brian Anderson 提交于
-
- 04 1月, 2014 1 次提交
-
-
由 Patrick Walton 提交于
-
- 11 12月, 2013 1 次提交
-
-
由 klutzy 提交于
- `Buffer.lines()` returns `LineIterator` which yields line using `.read_line()`. - `Reader.bytes()` now takes `&mut self` instead of `self`. - `Reader.read_until()` swallows `EndOfFile`. This also affects `.read_line()`.
-
- 27 11月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
-
- 26 11月, 2013 1 次提交
-
-
由 Marvin Löbel 提交于
-
- 12 11月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
-
- 25 10月, 2013 2 次提交
-
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
Big fish fried here: extra::json most of the compiler extra::io_util removed extra::fileinput removed Fish left to fry extra::ebml
-
- 24 10月, 2013 1 次提交
-
-
由 Daniel Micay 提交于
-
- 22 10月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
Who doesn't like a massive renaming?
-
- 01 10月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
-