rust/src/libstd
bors 790e6bb397 auto merge of #8490 : huonw/rust/fromiterator-extendable, r=catamorphism
If they are on the trait then it is extremely annoying to use them as
generic parameters to a function, e.g. with the iterator param on the trait
itself, if one was to pass an Extendable<int> to a function that filled it
either from a Range or a Map<VecIterator>, one needs to write something
like:

    fn foo<E: Extendable<int, Range<int>> +
              Extendable<int, Map<&'self int, int, VecIterator<int>>>
          (e: &mut E, ...) { ... }

since using a generic, i.e. `foo<E: Extendable<int, I>, I: Iterator<int>>`
means that `foo` takes 2 type parameters, and the caller has to specify them
(which doesn't work anyway, as they'll mismatch with the iterators used in
`foo` itself).

This patch changes it to:

    fn foo<E: Extendable<int>>(e: &mut E, ...) { ... }
2013-08-15 02:56:08 -07:00
..
fmt Add f formats to ifmt! 2013-08-13 19:16:40 -07:00
num Forbid pub/priv where it has no effect 2013-08-12 23:20:46 -07:00
rand Change 'print(fmt!(...))' to printf!/printfln! in src/lib* 2013-07-24 09:45:20 -04:00
rt auto merge of #8475 : kmcallister/rust/stack_segment, r=brson,brson 2013-08-13 14:57:24 -07:00
str Methodyfied the string ascii extionsion functions 2013-08-14 14:48:25 +02:00
task Clean up transitionary glue in task/spawn.rs. Don't hold kill-little-lock for O(n) time, cf #3100, and optimize out several unneeded clone()s. 2013-08-12 15:20:02 -04:00
unstable auto merge of #8446 : alexcrichton/rust/ifmt++, r=graydon 2013-08-13 19:23:21 -07:00
at_vec.rs std::at_vec: add benchmarks 2013-08-12 21:42:51 -04:00
bool.rs Remove redundant Ord method impls. 2013-08-09 14:28:14 +09:00
borrow.rs std: implement Total{Ord,Eq} for pointers. 2013-08-04 19:46:52 +10:00
c_str.rs std: fix a bad type cast for in str.to_c_str() 2013-08-07 14:06:50 -07:00
cast.rs fix build with the new snapshot compiler 2013-08-12 17:37:46 -04:00
cell.rs Make cell with_ref/with_mut_ref use finally. Close #7975. 2013-08-12 13:54:21 -04:00
char.rs Implement formatting arguments for strings and integers 2013-08-12 23:18:51 -07:00
cleanup.rs Remove the C++ runtime. Sayonara 2013-08-09 16:45:50 -07:00
clone.rs std: Implement Clone and DeepClone for extern "Rust" fn 2013-07-29 19:43:21 +02:00
cmp.rs Remove redundant Ord method impls. 2013-08-09 14:28:14 +09:00
comm.rs Remove the C++ runtime. Sayonara 2013-08-09 16:45:50 -07:00
condition.rs make in and foreach get treated as keywords 2013-08-01 00:21:13 -04:00
container.rs Add default implementation of Map::contains_key function 2013-08-03 05:54:05 +04:00
either.rs Mass rename of .consume{,_iter}() to .move_iter() 2013-08-10 07:01:07 -07:00
from_str.rs
hash.rs remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
hashmap.rs std: Move the iterator param on FromIterator and Extendable to the method. 2013-08-15 01:10:45 +10:00
io.rs fix build with the new snapshot compiler 2013-08-12 17:37:46 -04:00
iter.rs std: Change Times trait to use do instead of for 2013-08-01 16:54:22 +02:00
iterator.rs std: Move the iterator param on FromIterator and Extendable to the method. 2013-08-15 01:10:45 +10:00
kinds.rs new snapshot 2013-07-22 01:09:48 -04:00
libc.rs std and rustc: explicitly pass c strings to c functions 2013-08-04 15:45:16 -07:00
local_data.rs std: add result.map_move, result.map_err_move 2013-08-07 08:23:55 -07:00
logging.rs Remove the C++ runtime. Sayonara 2013-08-09 16:45:50 -07:00
macros.rs Remove rtdebug_! and make rtdebug! work properly. 2013-08-09 14:48:10 -04: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 Methodyfied the string ascii extionsion functions 2013-08-14 14:48:25 +02:00
os.rs std: merge Iterator and IteratorUtil 2013-08-10 07:02:17 -07:00
owned.rs std: implement Total{Ord,Eq} for pointers. 2013-08-04 19:46:52 +10:00
path.rs std: merge Iterator and IteratorUtil 2013-08-10 07:02:17 -07:00
prelude.rs auto merge of #8400 : blake2-ppc/rust/seq-ord, r=cmr 2013-08-12 11:53:18 -07:00
ptr.rs Forbid pub/priv where it has no effect 2013-08-12 23:20:46 -07:00
rand.rs Forbid pub/priv where it has no effect 2013-08-12 23:20:46 -07:00
reflect.rs Consolidate raw representations of rust values 2013-07-26 09:53:03 -07:00
repr.rs fix build with the new snapshot compiler 2013-08-12 17:37:46 -04:00
result.rs Mass rename of .consume{,_iter}() to .move_iter() 2013-08-10 07:01:07 -07:00
run.rs Merge remote-tracking branch 'remotes/origin/master' into remove-str-trailing-nulls 2013-08-09 18:48:01 -07:00
select.rs Fix select() in light of the deschedule...and then race. Close #8347. 2013-08-12 13:54:21 -04:00
std.rs Methodyfied the string ascii extionsion functions 2013-08-14 14:48:25 +02:00
str.rs auto merge of #8490 : huonw/rust/fromiterator-extendable, r=catamorphism 2013-08-15 02:56:08 -07:00
sys.rs auto merge of #8296 : erickt/rust/remove-str-trailing-nulls, r=erickt 2013-08-09 21:56:17 -07:00
to_bytes.rs std: merge Iterator and IteratorUtil 2013-08-10 07:02:17 -07:00
to_str.rs remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
trie.rs std: Move the iterator param on FromIterator and Extendable to the method. 2013-08-15 01:10:45 +10:00
tuple.rs auto merge of #8400 : blake2-ppc/rust/seq-ord, r=cmr 2013-08-12 11:53:18 -07:00
unicode.rs rustc: add a lint to enforce uppercase statics. 2013-07-01 17:52:57 +10:00
unit.rs Methodyfied the string ascii extionsion functions 2013-08-14 14:48:25 +02:00
util.rs (cleanup) Use more do...finally in extra::sync. 2013-08-02 17:31:45 -04:00
vec.rs auto merge of #8490 : huonw/rust/fromiterator-extendable, r=catamorphism 2013-08-15 02:56:08 -07:00