1. 23 8月, 2013 1 次提交
  2. 22 8月, 2013 1 次提交
  3. 21 8月, 2013 1 次提交
  4. 19 8月, 2013 12 次提交
  5. 16 8月, 2013 2 次提交
  6. 14 8月, 2013 2 次提交
    • H
      std: Move the iterator param on FromIterator and Extendable to the method. · 53487a02
      Huon Wilson 提交于
      If they are on the trait then it is extremely annoying to use them as
      generic parameters to a function, e.g. with the iterator param on the trait
      itself, if one was to pass an Extendable<int> to a function that filled it
      either from a Range or a Map<VecIterator>, one needs to write something
      like:
      
          fn foo<E: Extendable<int, Range<int>> +
                    Extendable<int, Map<&'self int, int, VecIterator<int>>>
                (e: &mut E, ...) { ... }
      
      since using a generic, i.e. `foo<E: Extendable<int, I>, I: Iterator<int>>`
      means that `foo` takes 2 type parameters, and the caller has to specify them
      (which doesn't work anyway, as they'll mismatch with the iterators used in
      `foo` itself).
      
      This patch changes it to:
      
          fn foo<E: Extendable<int>>(e: &mut E, ...) { ... }
      53487a02
    • M
      Methodyfied the string ascii extionsion functions · a00becd0
      Marvin Löbel 提交于
      Added into_owned() method for vectors
      Added DoubleEnded Iterator impl to Option
      Renamed nil.rs to unit.rs
      a00becd0
  7. 13 8月, 2013 3 次提交
  8. 11 8月, 2013 2 次提交
  9. 10 8月, 2013 6 次提交
  10. 09 8月, 2013 1 次提交
    • O
      Remove redundant Ord method impls. · b4d6ae5b
      OGINO Masanori 提交于
      Basically, generic containers should not use the default methods since a
      type of elements may not guarantees total order. str could use them
      since u8's Ord guarantees total order. Floating point numbers are also
      broken with the default methods because of NaN. Thanks for @thestinger.
      
      Timespec also guarantees total order AIUI. I'm unsure whether
      extra::semver::Identifier does so I left it alone. Proof needed.
      Signed-off-by: NOGINO Masanori <masanori.ogino@gmail.com>
      b4d6ae5b
  11. 08 8月, 2013 1 次提交
  12. 07 8月, 2013 3 次提交
  13. 06 8月, 2013 1 次提交
    • M
      Updated std::Option, std::Either and std::Result · 0ac7a219
      Marvin Löbel 提交于
      - Made naming schemes consistent between Option, Result and Either
      - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None)
      - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
      0ac7a219
  14. 05 8月, 2013 4 次提交