about summary refs log tree commit diff
path: root/src/libstd/prelude.rs
AgeCommit message (Collapse)AuthorLines
2013-08-10std: merge Iterator and IteratorUtilErick Tryzelaar-1/+1
2013-08-10std: merge iterator::DoubleEndedIterator and DoubleEndedIteratorUtilErick Tryzelaar-1/+1
2013-08-08std: Implement traits for the one-tupleblake2-ppc-0/+1
(A,) did not have the trait implementations of 2- to 12- tuples.
2013-08-07Merge remote-tracking branch 'remotes/origin/master' into ↵Erick Tryzelaar-1/+2
remove-str-trailing-nulls
2013-08-06add Extendable to the preludeDaniel Micay-1/+2
2013-08-04std: replace str::as_c_str with std::c_strErick Tryzelaar-0/+1
2013-08-04std: remove str::NullTerminatedStrErick Tryzelaar-1/+1
2013-08-02replace `range` with an external iteratorDaniel Micay-1/+2
2013-07-23std: move StrUtil::as_c_str into StrSliceErick Tryzelaar-1/+1
2013-07-17librustc: Remove all uses of the `Copy` bound.Patrick Walton-1/+1
2013-07-13Split mutable methods out of Set and MapSteven Fackler-1/+1
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.
2013-07-12extend the iterator tutorialDaniel Micay-2/+3
documents conversion, size hints and double-ended iterators and adds more of the traits to the prelude
2013-07-04Remove standalone comparison functions in vec, make the trait impls better.Huon Wilson-1/+1
2013-07-03auto merge of #7474 : Seldaek/rust/clean-iter, r=thestingerbors-1/+1
I think it's WIP - but I wanted to ask for feedback (/cc @thestinger) I had to move the impl of FromIter for vec into extra::iter because I don't think std can depend on extra, but that's a bit messed up. Similarly some FromIter uses are gone now, not sure if this is fixable or if I made a complete mess here..
2013-07-01Move most iter functionality to extra, fixes #7343Jordi Boggiano-1/+1
2013-06-30Convert vec::dedup to a method.Huon Wilson-1/+1
2013-06-30Convert vec::{bsearch, bsearch_elem} to methods.Huon Wilson-1/+1
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-1/+1
2013-06-28librustc: Rename Const to FreezePatrick Walton-1/+1
2013-06-28librustc: Change Const to Freeze in the compilerPatrick Walton-1/+2
2013-06-24remove old_iterDaniel Micay-2/+0
the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and written in an ancient dialect of Rust so I've just removed it this also removes `to_vec` from DList because it's provided by `std::iter::to_vec` an Iterator implementation is added for OptVec but some transitional internal iterator methods are still left
2013-06-17Improved std::asciiMarvin Löbel-1/+1
- Fixed tests - Added methods - Renamed casting methods to be shorter closes #7150
2013-06-15rm CopyableOrderedIterDaniel Micay-2/+2
replaced with OrdIterator
2013-06-14rm CopyableNonstrictIterDaniel Micay-1/+1
copies can just be done explicitly: `xs.transform(|x|x.clone())`
2013-06-14rm MutableIterDaniel Micay-1/+1
replaced with mutable implementations of Iterator
2013-06-14rm ExtendedMutableIterDaniel Micay-1/+0
replaced with `xs.mut_iter().enumerate()`
2013-06-14add IteratorUtil to the preludeDaniel Micay-2/+1
2013-06-13std: make all strings Equiv-alent to each other, generalise Path.push_many ↵Huon Wilson-1/+1
to take any type of string.
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-1/+1
.as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str).
2013-06-07add the Iterator trait to the preludeDaniel Micay-0/+1
2013-06-08std: remove each[i]_mut functions, in favour of iterators.Huon Wilson-1/+0
2013-06-06FixupsMarvin Löbel-2/+3
2013-06-03auto merge of #6907 : steveklabnik/rust/prelude_docs, r=graydonbors-1/+18
2013-06-03Add better documentation for the Prelude.Steve Klabnik-1/+18
2013-06-03rename the Ptr trait to RawPtrDaniel Micay-1/+1
Closes #6607
2013-06-03Add traits for concat and connect methodsBrendan Zabarauskas-2/+2
2013-05-31Add as_c_str method on stringsBen Striegel-1/+1
2013-05-30Add 'Sized' builtin kind; doesn't do anything yetBen Blum-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-48/+4
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+111
This only changes the directory names; it does not change the "real" metadata names.