1. 07 12月, 2017 1 次提交
  2. 11 10月, 2017 1 次提交
    • J
      core: derive Clone for result::IntoIter · 9e8b33e8
      Josh Stone 提交于
      It appears to be a simple oversight that `result::IntoIter<T>` doesn't
      implement `Clone` (where `T: Clone`).  We do already have `Clone` for
      `result::Iter`, as well as the similar `option::IntoIter` and `Iter`.
      9e8b33e8
  3. 18 8月, 2017 1 次提交
  4. 02 8月, 2017 1 次提交
  5. 10 6月, 2017 1 次提交
  6. 31 5月, 2017 1 次提交
  7. 25 5月, 2017 1 次提交
  8. 29 3月, 2017 1 次提交
  9. 23 3月, 2017 1 次提交
  10. 18 3月, 2017 1 次提交
  11. 12 2月, 2017 1 次提交
  12. 26 1月, 2017 1 次提交
    • A
      std: Stabilize APIs for the 1.16.0 release · 671b1c1d
      Alex Crichton 提交于
      This commit applies the stabilization/deprecations of the 1.16.0 release, as
      tracked by the rust-lang/rust issue tracker and the final-comment-period tag.
      
      The following APIs were stabilized:
      
      * `VecDeque::truncate`
      * `VecDeque::resize`
      * `String::insert_str`
      * `Duration::checked_{add,sub,div,mul}`
      * `str::replacen`
      * `SocketAddr::is_ipv{4,6}`
      * `IpAddr::is_ipv{4,6}`
      * `str::repeat`
      * `Vec::dedup_by`
      * `Vec::dedup_by_key`
      * `Result::unwrap_or_default`
      * `<*const T>::wrapping_offset`
      * `<*mut T>::wrapping_offset`
      * `CommandExt::creation_flags` (on Windows)
      * `File::set_permissions`
      * `String::split_off`
      
      The following APIs were deprecated
      
      * `EnumSet` - replaced with other ecosystem abstractions, long since unstable
      
      Closes #27788
      Closes #35553
      Closes #35774
      Closes #36436
      Closes #36949
      Closes #37079
      Closes #37087
      Closes #37516
      Closes #37827
      Closes #37916
      Closes #37966
      Closes #38080
      671b1c1d
  13. 14 1月, 2017 1 次提交
  14. 14 12月, 2016 1 次提交
  15. 04 11月, 2016 1 次提交
  16. 01 11月, 2016 2 次提交
  17. 26 10月, 2016 1 次提交
  18. 22 10月, 2016 1 次提交
  19. 21 10月, 2016 1 次提交
  20. 20 10月, 2016 2 次提交
  21. 11 9月, 2016 1 次提交
  22. 04 9月, 2016 1 次提交
  23. 25 8月, 2016 1 次提交
  24. 19 8月, 2016 1 次提交
    • S
      Add a FusedIterator trait. · de91872a
      Steven Allen 提交于
      This trait can be used to avoid the overhead of a fuse wrapper when an iterator
      is already well-behaved.
      
      Conforming to: RFC 1581
      Closes: #35602
      de91872a
  25. 10 8月, 2016 1 次提交
  26. 29 6月, 2016 1 次提交
    • J
      Improve code example for try! · 8f3e4989
      Jupp Müller 提交于
      This change improves the code example for try!,
      avoiding to use try! in the example code that shows
      what code constructs try! can replace.
      8f3e4989
  27. 09 4月, 2016 1 次提交
  28. 21 3月, 2016 1 次提交
  29. 05 3月, 2016 1 次提交
  30. 23 2月, 2016 1 次提交
  31. 23 1月, 2016 2 次提交
    • U
      Move cold panic functions in Option and Result · 257bff31
      Ulrik Sverdrup 提交于
      Move functions out of their impl blocks; avoids unnecessary
      monomorphization by type parameters that are irrelevant to the message
      output.
      257bff31
    • U
      Use cold functions for panic formatting Option::expect, Result::unwrap etc · 30be6a66
      Ulrik Sverdrup 提交于
      Option::expect, Result::unwrap, unwrap_err, expect
      
      These methods are marked inline, but insert a big chunk of formatting
      code, as well as other error path related code, such as deallocating
      a std::io::Error if you have one.
      
      We can explicitly separate out that code path into a function that is
      never inline, since the panicking case should always be rare.
      30be6a66
  32. 14 1月, 2016 1 次提交
  33. 11 12月, 2015 1 次提交
  34. 10 12月, 2015 1 次提交
  35. 20 11月, 2015 1 次提交
  36. 18 11月, 2015 1 次提交
  37. 12 11月, 2015 1 次提交