1. 13 11月, 2014 1 次提交
  2. 12 11月, 2014 1 次提交
  3. 08 11月, 2014 1 次提交
    • G
      Renamed Extendable to Extend · 16c8cd93
      gamazeps 提交于
      In order to upgrade, simply rename the Extendable trait to Extend in
      your code
      
      Part of #18424
      
      [breaking-change]
      16c8cd93
  4. 07 11月, 2014 1 次提交
    • A
      Prelude: rename and consolidate extension traits · cfafc1b7
      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
      cfafc1b7
  5. 03 11月, 2014 1 次提交
  6. 02 11月, 2014 1 次提交
    • A
      collections: Remove all collections traits · 21ac985a
      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
      21ac985a
  7. 31 10月, 2014 1 次提交
  8. 07 10月, 2014 2 次提交
  9. 14 8月, 2014 3 次提交
    • B
      core: Rename ImmutableEqSlice to ImmutablePartialEqSlice · 76d46af6
      Brian Anderson 提交于
      This is in the prelude and won't break much code.
      
      [breaking-change]
      76d46af6
    • B
      std: Rename slice::Vector to Slice · fbc93082
      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]
      fbc93082
    • B
      std: Rename various slice traits for consistency · 4f5b6927
      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]
      4f5b6927
  10. 07 8月, 2014 1 次提交
    • A
      Rename `Share` to `Sync` · 1f760d5d
      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]
      1f760d5d
  11. 19 7月, 2014 1 次提交
  12. 10 7月, 2014 1 次提交
  13. 08 7月, 2014 1 次提交
    • P
      librustc (RFC #34): Implement the new `Index` and `IndexMut` traits. · 7e4e9912
      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]
      7e4e9912
  14. 09 6月, 2014 1 次提交
  15. 02 6月, 2014 1 次提交
    • A
      std: Drop Total from Total{Eq,Ord} · bba701c5
      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]
      bba701c5
  16. 31 5月, 2014 1 次提交
    • A
      std: Rename {Eq,Ord} to Partial{Eq,Ord} · 748bc3ca
      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]
      748bc3ca
  17. 18 5月, 2014 1 次提交
  18. 16 5月, 2014 1 次提交
    • A
      Updates with core::fmt changes · 1de4b65d
      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.
      1de4b65d
  19. 07 5月, 2014 1 次提交
    • A
      core: Get coretest working · 104e285e
      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.
      104e285e
  20. 23 5月, 2013 1 次提交
  21. 19 5月, 2013 2 次提交
  22. 18 5月, 2013 1 次提交
  23. 15 5月, 2013 1 次提交
  24. 10 5月, 2013 1 次提交
  25. 08 5月, 2013 1 次提交
  26. 06 5月, 2013 1 次提交
  27. 05 5月, 2013 1 次提交
  28. 03 5月, 2013 1 次提交
  29. 02 5月, 2013 1 次提交
  30. 01 5月, 2013 1 次提交
  31. 30 4月, 2013 1 次提交
  32. 29 4月, 2013 4 次提交
  33. 26 4月, 2013 1 次提交
    • B
      Add Orderable trait · 6cc7107a
      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).
      6cc7107a