- 13 11月, 2014 1 次提交
-
-
由 Brendan Zabarauskas 提交于
Num, NumCast, Unsigned, Float, Primitive and Int have been removed.
-
- 12 11月, 2014 1 次提交
-
-
由 Brendan Zabarauskas 提交于
-
- 08 11月, 2014 1 次提交
-
-
由 gamazeps 提交于
In order to upgrade, simply rename the Extendable trait to Extend in your code Part of #18424 [breaking-change]
-
- 07 11月, 2014 1 次提交
-
-
由 Aaron Turon 提交于
This commit renames a number of extension traits for slices and string slices, now that they have been refactored for DST. In many cases, multiple extension traits could now be consolidated. Further consolidation will be possible with generalized where clauses. The renamings are consistent with the [new `-Prelude` suffix](https://github.com/rust-lang/rfcs/pull/344). There are probably a few more candidates for being renamed this way, but that is left for API stabilization of the relevant modules. Because this renames traits, it is a: [breaking-change] However, I do not expect any code that currently uses the standard library to actually break. Closes #17917
-
- 03 11月, 2014 1 次提交
-
-
由 Aaron Turon 提交于
As per [RFC 70](https://github.com/rust-lang/rfcs/blob/master/active/0070-error-chaining.md) Closes #17747 Note that the `error` module must live in `std` in order to refer to `String`. Note that, until multidispatch lands, the `FromError` trait cannot be usefully implemented outside of the blanket impl given here.
-
- 02 11月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
As part of the collections reform RFC, this commit removes all collections traits in favor of inherent methods on collections themselves. All methods should continue to be available on all collections. This is a breaking change with all of the collections traits being removed and no longer being in the prelude. In order to update old code you should move the trait implementations to inherent implementations directly on the type itself. Note that some traits had default methods which will also need to be implemented to maintain backwards compatibility. [breaking-change] cc #18424
-
- 31 10月, 2014 1 次提交
-
-
由 Jakub Bukaj 提交于
Implements a part of RFC 235. [breaking-change]
-
- 07 10月, 2014 2 次提交
-
-
由 Nick Cameron 提交于
-
由 Nick Cameron 提交于
-
- 14 8月, 2014 3 次提交
-
-
由 Brian Anderson 提交于
This is in the prelude and won't break much code. [breaking-change]
-
由 Brian Anderson 提交于
This required some contortions because importing both raw::Slice and slice::Slice makes rustc crash. Since `Slice` is in the prelude, this renaming is unlikely to casue breakage. [breaking-change]
-
由 Brian Anderson 提交于
ImmutableVector -> ImmutableSlice ImmutableEqVector -> ImmutableEqSlice ImmutableOrdVector -> ImmutableOrdSlice MutableVector -> MutableSlice MutableVectorAllocating -> MutableSliceAllocating MutableCloneableVector -> MutableCloneableSlice MutableOrdVector -> MutableOrdSlice These are all in the prelude so most code will not break. [breaking-change]
-
- 07 8月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
This leaves the `Share` trait at `std::kinds` via a `#[deprecated]` `pub use` statement, but the `NoShare` struct is no longer part of `std::kinds::marker` due to #12660 (the build cannot bootstrap otherwise). All code referencing the `Share` trait should now reference the `Sync` trait, and all code referencing the `NoShare` type should now reference the `NoSync` type. The functionality and meaning of this trait have not changed, only the naming. Closes #16281 [breaking-change]
-
- 19 7月, 2014 1 次提交
-
-
由 Patrick Walton 提交于
-
- 10 7月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
Closes #15544
-
- 08 7月, 2014 1 次提交
-
-
由 Patrick Walton 提交于
This will break code that used the old `Index` trait. Change this code to use the new `Index` traits. For reference, here are their signatures: pub trait Index<Index,Result> { fn index<'a>(&'a self, index: &Index) -> &'a Result; } pub trait IndexMut<Index,Result> { fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result; } Closes #6515. [breaking-change]
-
- 09 6月, 2014 1 次提交
-
-
由 Brian Anderson 提交于
Also renames the `Container` trait to `Collection`. [breaking-change]
-
- 02 6月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
This completes the last stage of the renaming of the comparison hierarchy of traits. This change renames TotalEq to Eq and TotalOrd to Ord. In the future the new Eq/Ord will be filled out with their appropriate methods, but for now this change is purely a renaming change. [breaking-change]
-
- 31 5月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
This is part of the ongoing renaming of the equality traits. See #12517 for more details. All code using Eq/Ord will temporarily need to move to Partial{Eq,Ord} or the Total{Eq,Ord} traits. The Total traits will soon be renamed to {Eq,Ord}. cc #12517 [breaking-change]
-
- 18 5月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
Closes #14246
-
- 16 5月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
1. Wherever the `buf` field of a `Formatter` was used, the `Formatter` is used instead. 2. The usage of `write_fmt` is minimized as much as possible, the `write!` macro is preferred wherever possible. 3. Usage of `fmt::write` is minimized, favoring the `write!` macro instead.
-
- 07 5月, 2014 1 次提交
-
-
由 Alex Crichton 提交于
This mostly involved frobbing imports between realstd, realcore, and the core being test. Some of the imports are a little counterintuitive, but it mainly focuses around libcore's types not implementing Show while libstd's types implement Show.
-
- 23 5月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
This only changes the directory names; it does not change the "real" metadata names.
-
- 19 5月, 2013 2 次提交
-
-
由 Brendan Zabarauskas 提交于
-
由 Brendan Zabarauskas 提交于
Make n{0..11} methods return cloned values, and create n{0..12}_ref methods for returning references
-
- 18 5月, 2013 1 次提交
-
-
由 Brendan Zabarauskas 提交于
-
- 15 5月, 2013 1 次提交
-
-
由 Daniel Micay 提交于
for deep copies through shared ownership boundaries
-
- 10 5月, 2013 1 次提交
-
-
由 Youngsoo Son 提交于
-
- 08 5月, 2013 1 次提交
-
-
由 Brian Anderson 提交于
-
- 06 5月, 2013 1 次提交
-
-
由 Brendan Zabarauskas 提交于
-
- 05 5月, 2013 1 次提交
-
-
由 Brian Anderson 提交于
-
- 03 5月, 2013 1 次提交
-
-
由 Daniel Ralston 提交于
-
- 02 5月, 2013 1 次提交
-
-
由 gifnksm 提交于
-
- 01 5月, 2013 1 次提交
-
-
由 Brendan Zabarauskas 提交于
-
- 30 4月, 2013 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 29 4月, 2013 4 次提交
-
-
由 Brendan Zabarauskas 提交于
After discussions on IRC and #4819, we have decided to revert this change. This is due to the traits expressing different ideas and because hyperbolic functions are not trivially implementable from exponential functions for floating-point types.
-
由 Brendan Zabarauskas 提交于
The Hyperbolic Functions are trivially implemented in terms of `exp`, so it's simpler to group them the Exponential trait. In the future these would have default implementations.
-
由 Brendan Zabarauskas 提交于
Move appropriate functions out of Real and into separate Algebraic, Trigonometric, Exponential and Hyperbolic traits
-
由 Daniel Micay 提交于
-
- 26 4月, 2013 1 次提交
-
-
由 Brendan Zabarauskas 提交于
This is a temporary trait until we have default methods. We don't want to encumber all implementors of Ord by requiring them to implement these functions, but at the same time we want to be able to take advantage of the speed of the specific numeric functions (like the `fmin` and `fmax` intrinsics).
-