- 17 12月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
This will be used for the new `Cell`.
-
- 04 12月, 2013 1 次提交
-
-
由 Steven Fackler 提交于
It's a more fitting name for the most common use case of this function.
-
- 14 11月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
This trait is meant to abstract whether a reader is actually implemented with an underlying buffer. For all readers which are implemented as such, we can efficiently implement things like read_char, read_line, read_until, etc. There are two required methods for managing the internal buffer, and otherwise read_line and friends can all become default methods. Closes #10334
-
- 12 11月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
-
- 04 11月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
These traits belong here, and were simply waiting for the std::io traits to get removed. It's time they take their rightful positions!
-
- 28 10月, 2013 1 次提交
-
-
由 Marvin Löbel 提交于
Some code cleanup, sorting of import blocks Removed std::unstable::UnsafeArc's use of Either Added run-fail tests for the new FailWithCause impls Changed future_result and try to return Result<(), ~Any>. - Internally, there is an enum of possible fail messages passend around. - In case of linked failure or a string message, the ~Any gets lazyly allocated in future_results recv method. - For that, future result now returns a wrapper around a Port. - Moved and renamed task::TaskResult into rt::task::UnwindResult and made it an internal enum. - Introduced a replacement typedef `type TaskResult = Result<(), ~Any>`.
-
- 25 10月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
-
- 24 10月, 2013 1 次提交
-
-
由 Marvin Löbel 提交于
Removed unused import warning in std::mem and cleaned it up too Removed is_true and is_false from std::bool Removed freestanding functions in std::bool
-
- 16 10月, 2013 1 次提交
-
-
由 Kevin Ballard 提交于
Remove the old path. Rename path2 to path. Update all clients for the new path. Also make some miscellaneous changes to the Path APIs to help the adoption process.
-
- 10 10月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
Additionally, this moves the prelude imports of print/println from std::io to std::rt::io. Closes #6846
-
- 02 10月, 2013 1 次提交
-
-
由 Erick Tryzelaar 提交于
-
- 25 9月, 2013 1 次提交
-
-
由 Huon Wilson 提交于
The old behaviour of `foo.n0()` is replaced by `foo.n0_ref().clone()`.
-
- 16 9月, 2013 1 次提交
-
-
由 Marvin Löbel 提交于
A SendStr is a string that can hold either a ~str or a &'static str. This can be useful as an optimization when an allocation is sometimes needed but the common case is statically known. Possible use cases include Maps with both static and owned keys, or propagating error messages across task boundaries. SendStr implements most basic traits in a way that hides the fact that it is an enum; in particular things like order and equality are only determined by the content of the wrapped strings. Replaced std::rt:logging::SendableString with SendStr Added tests for using an SendStr as key in Hash- and Treemaps
-
- 09 9月, 2013 1 次提交
-
-
由 Daniel Micay 提交于
The trait will keep the `Iterator` naming, but a more concise module name makes using the free functions less verbose. The module will define iterables in addition to iterators, as it deals with iteration in general.
-
- 05 9月, 2013 1 次提交
-
-
由 Corey Richardson 提交于
-
- 02 9月, 2013 1 次提交
-
-
由 blake2-ppc 提交于
Address discussion with acrichto; inherit DoubleEndedIterator so that `.rposition()` can be a default method, and that the nische of the trait is clear. Use assertions when using `.size_hint()` in reverse enumerate and `.rposition()`
-
- 31 8月, 2013 1 次提交
-
-
由 blake2-ppc 提交于
This is a generalization of the vector .rposition() method, to all double-ended iterators that have the ExactSizeHint trait. This resolves the slight asymmetry around `position` and `rposition` * position from front is `vec.iter().position()` * position from the back was, `vec.rposition()` is now `vec.iter().rposition()` Additionally, other indexed sequences (only `extra::ringbuf` I think), will have the same method available once it implements ExactSizeHint.
-
- 29 8月, 2013 1 次提交
-
-
由 Jason Fager 提交于
Moves the Times trait to num while the question of whether it should exist at all gets hashed out as a completely separate question.
-
- 27 8月, 2013 1 次提交
-
-
由 Corey Richardson 提交于
-
- 21 8月, 2013 3 次提交
-
-
由 Daniel Micay 提交于
-
由 Daniel Micay 提交于
this works on any container with a mutable double-ended iterator
-
由 Daniel Micay 提交于
-
- 16 8月, 2013 1 次提交
-
-
由 Daniel Micay 提交于
replaced by iterators (generic composable `map` and `zip` adaptors)
-
- 11 8月, 2013 1 次提交
-
-
由 Daniel Micay 提交于
-
- 10 8月, 2013 2 次提交
-
-
由 Erick Tryzelaar 提交于
-
由 Erick Tryzelaar 提交于
-
- 09 8月, 2013 1 次提交
-
-
由 blake2-ppc 提交于
(A,) did not have the trait implementations of 2- to 12- tuples.
-
- 07 8月, 2013 1 次提交
-
-
由 Daniel Micay 提交于
-
- 05 8月, 2013 2 次提交
-
-
由 Erick Tryzelaar 提交于
-
由 Erick Tryzelaar 提交于
-
- 02 8月, 2013 1 次提交
-
-
由 Daniel Micay 提交于
-
- 24 7月, 2013 1 次提交
-
-
由 Erick Tryzelaar 提交于
-
- 18 7月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
-
- 14 7月, 2013 1 次提交
-
-
由 Steven Fackler 提交于
Fixes most of #4989. I didn't add Persistent{Set,Map} since the only persistent data structure is fun_treemap and its functionality is currently too limited to build a trait out of.
-
- 12 7月, 2013 1 次提交
-
-
由 Daniel Micay 提交于
documents conversion, size hints and double-ended iterators and adds more of the traits to the prelude
-
- 03 7月, 2013 1 次提交
-
-
由 Huon Wilson 提交于
-
- 01 7月, 2013 1 次提交
-
-
由 Jordi Boggiano 提交于
-
- 30 6月, 2013 2 次提交
-
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
-
- 28 6月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
-