summary refs log tree commit diff
path: root/src/libextra/treemap.rs
AgeCommit message (Collapse)AuthorLines
2013-06-30auto merge of #7468 : cmr/rust/great_renaming, r=pcwaltonbors-7/+4
2013-06-29Removing a lot of usage of '&const'Alex Crichton-4/+4
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-7/+4
2013-06-29'Borrow' stack closures rather than copying them (e.g., "|x|f(x)"), in prep ↵Ben Blum-6/+6
for making them noncopyable.
2013-06-28Convert vec::{pop, shift, unshift, insert, remove, swap_remove} to methods.Huon Wilson-2/+1
2013-06-26treemap: remove .each in favor of .iter().advanceRamkumar Ramachandra-16/+7
Both extra::treemap::TreeMap and extra::treemap::TreeSet have corresponding iterators TreeMapIterator and TreeSetIterator. Unfortunately, the tests and extra::serialize use the older .each. Update all the dependent code, and remove .each. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-06-25container: remove internal iterators from MapDaniel Micay-20/+20
the maps are being migrated to external iterators
2013-06-24remove old_iterDaniel Micay-16/+10
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-23vec: remove BaseIter implementationDaniel Micay-4/+4
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-1/+1
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-25/+25
2013-06-16remove unused importsHuon Wilson-1/+0
2013-06-14add IteratorUtil to the preludeDaniel Micay-3/+0
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-4/+4
.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-11option: remove redundant old_iter implsDaniel Micay-11/+12
2013-06-09remove unused import warningsHuon Wilson-2/+0
2013-06-06Deduplicate words in code commentsAlexei Sholik-1/+1
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-11/+12
2013-05-30libextra: Require documentation by defaultAlex Crichton-0/+4
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-1/+9
2013-05-23cleanup warnings from libextraErick Tryzelaar-4/+4
2013-05-22test: Update tests and import the prelude in some more places.Patrick Walton-0/+3
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+1240
This only changes the directory names; it does not change the "real" metadata names.