rust/src/libstd
bors 7820fb5ca9 auto merge of #9062 : blake2-ppc/rust/vec-iterator, r=alexcrichton
Visit the free functions of std::vec and reimplement or remove some. Most prominently, remove `each_permutation` and replace with two iterators, ElementSwaps and Permutations.

Replace unzip, unzip_slice with an updated `unzip` that works with an iterator argument.

Replace each_permutation with a Permutation iterator. The new permutation iterator is more efficient since it uses an algorithm that produces permutations in an order where each is only one element swap apart, including swapping back to the original state with one swap at the end.

Unify the seldomly used functions `build`, `build_sized`, `build_sized_opt` into just one function `build`.

Remove `equal_sizes`
2013-09-09 21:31:03 -07:00
..
fmt rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
num auto merge of #9051 : bjz/rust/master, r=huonw 2013-09-09 06:06:04 -07:00
rand std/extra: changing XXX to FIXME; cleanup 2013-08-21 17:17:41 -07:00
rt rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
str Some work on std::ascii: Marked unsafe function unsafe, added moving implementations 2013-09-09 15:07:22 +02:00
task Consolidate local_data implementations, and cleanup 2013-08-27 21:29:11 -07:00
unstable Flag the Repr::repr function with #[inline] 2013-09-06 22:29:29 -07:00
at_vec.rs auto merge of #9062 : blake2-ppc/rust/vec-iterator, r=alexcrichton 2013-09-09 21:31:03 -07:00
bool.rs remove several 'ne' methods 2013-08-30 21:53:25 -04:00
borrow.rs std: implement Total{Ord,Eq} for pointers. 2013-08-04 19:46:52 +10:00
c_str.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
cast.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
cell.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
char.rs stop treating char as an integer type 2013-09-04 08:07:56 -04:00
cleanup.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
clone.rs std: Implement Clone and DeepClone for extern "Rust" fn 2013-07-29 19:43:21 +02:00
cmp.rs Now inline default 'ne' methods 2013-08-30 22:02:24 -04:00
comm.rs Remove the C++ runtime. Sayonara 2013-08-09 16:45:50 -07:00
condition.rs Another followup on #6009. 2013-09-04 18:08:02 +02:00
container.rs container: inline contains_key default method 2013-08-20 22:05:03 -04:00
default.rs Add a Default trait. 2013-08-26 19:25:53 -04:00
either.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
from_str.rs Add from_str docs 2013-09-05 00:58:12 -04:00
hash.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
hashmap.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
io.rs auto merge of #9062 : blake2-ppc/rust/vec-iterator, r=alexcrichton 2013-09-09 21:31:03 -07:00
iter.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
kinds.rs kinds: update documentation 2013-08-15 21:12:34 -04:00
libc.rs std: Add Win64 support 2013-08-26 22:15:45 +09:00
local_data.rs Remove hacks around issues in local_data 2013-09-09 01:01:23 -07:00
logging.rs Remove the __log function for __log_level 2013-09-05 01:48:20 -07:00
macros.rs Define cfg(rtopt) when optimizing. Turn off runtime sanity checks 2013-08-23 21:19:59 -07:00
managed.rs std: implement Total{Ord,Eq} for pointers. 2013-08-04 19:46:52 +10:00
ops.rs std: add benchmark for allocating-and-dropping a struct with a dtor. 2013-07-22 16:56:11 -07:00
option.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
os.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
owned.rs std: implement Total{Ord,Eq} for pointers. 2013-08-04 19:46:52 +10:00
path.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
prelude.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
ptr.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
rand.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
reflect.rs repr: handle tuple structs sanely 2013-09-02 04:10:56 -04:00
reflect_stage0.rs Remove @io::Writer from sys/repr/reflect 2013-08-28 23:00:46 -07:00
repr.rs auto merge of #9065 : thestinger/rust/iter, r=alexcrichton 2013-09-09 00:26:07 -07:00
repr_stage0.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
result.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
run.rs Rename str::from_bytes to str::from_utf8, closes #8985 2013-09-05 14:17:24 +02:00
select.rs auto merge of #9062 : blake2-ppc/rust/vec-iterator, r=alexcrichton 2013-09-09 21:31:03 -07:00
std.rs auto merge of #9005 : alexcrichton/rust/rusty-log, r=brson 2013-09-09 10:41:05 -07:00
str.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
sys.rs Rename str::from_bytes to str::from_utf8, closes #8985 2013-09-05 14:17:24 +02:00
to_bytes.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
to_str.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
trie.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
tuple.rs librustc: Ensure that type parameters are in the right positions in paths. 2013-08-27 18:47:57 -07:00
unicode.rs rename std::iterator to std::iter 2013-09-09 03:21:46 -04:00
unit.rs Add a Default trait. 2013-08-26 19:25:53 -04:00
util.rs librustc: Remove &const and *const from the language. 2013-08-27 18:46:51 -07:00
vec.rs auto merge of #9062 : blake2-ppc/rust/vec-iterator, r=alexcrichton 2013-09-09 21:31:03 -07:00