rust/src/libstd
Alex Crichton f4083a2245 std: Change RandomAccessIterator to use &mut self
Many iterators go through a closure when dealing with the `idx` method, which
are invalid after the previous change (closures cannot be invoked through a `&`
pointer). This commit alters the `fn idx` method on the RandomAccessIterator
to take `&mut self` rather than `&self`.

[breaking-change]
2014-04-23 10:03:43 -07:00
..
comm Rewrite paragraph describing difference between try_send and send_opt 2014-04-19 10:23:15 -06:00
fmt Fix spelling mistakes in documentation and code. 2014-04-20 01:35:14 -04:00
hash Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
io std: Add an experimental connect_timeout function 2014-04-19 00:47:14 -07:00
num auto merge of #13410 : alexcrichton/rust/issue-12278, r=pcwalton 2014-04-20 11:41:29 -07:00
path Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
rt Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
sync Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
unstable std: Make ~[T] no longer a growable vector 2014-04-18 10:06:24 -07:00
any.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
ascii.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
bool.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
c_str.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
c_vec.rs Register new snapshots 2014-04-08 00:03:11 -07:00
cast.rs auto merge of #13651 : ryantm/rust/master, r=brson 2014-04-22 10:46:32 -07:00
cell.rs Stop using transmute_mut in RefCell 2014-04-10 15:21:59 -07:00
char.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
cleanup.rs Convert most code to new inner attribute syntax. 2014-03-28 17:12:21 -07:00
clone.rs Made the clone_from implementation for ~T reuse the T itself if 2014-03-18 16:29:57 -07:00
cmp.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
container.rs Add a default impl for Set::is_superset 2014-04-15 19:45:00 -07:00
default.rs libstd: Remove all support code related to @mut 2014-01-03 14:02:00 -08:00
from_str.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
gc.rs std: Switch field privacy as necessary 2014-03-31 15:17:12 -07:00
intrinsics.rs Register new snapshots 2014-04-16 08:24:22 -07:00
iter.rs std: Change RandomAccessIterator to use &mut self 2014-04-23 10:03:43 -07:00
kinds.rs std: Switch field privacy as necessary 2014-03-31 15:17:12 -07:00
lib.rs libstd: Implement StrBuf, a new string buffer type like Vec, and 2014-04-10 22:10:10 +10:00
local_data.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
macros.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
managed.rs std: remove the equals method from TotalEq. 2014-03-23 23:48:10 +11:00
mem.rs auto merge of #13643 : aochagavia/rust/pr-2, r=alexcrichton 2014-04-20 10:21:32 -07:00
ops.rs libtest: rename BenchHarness to Bencher 2014-04-11 17:31:13 +08:00
option.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
os.rs auto merge of #13613 : alexcrichton/rust/fix-freebsd-compile, r=brson 2014-04-19 15:31:28 -07:00
owned.rs std: remove the equals method from TotalEq. 2014-03-23 23:48:10 +11:00
prelude.rs std: Make ~[T] no longer a growable vector 2014-04-18 10:06:24 -07:00
ptr.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
raw.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
rc.rs std: Switch field privacy as necessary 2014-03-31 15:17:12 -07:00
reference.rs std: remove the equals method from TotalEq. 2014-03-23 23:48:10 +11:00
reflect.rs rustc: remove ty_unboxed_vec. 2014-04-06 14:05:32 +03:00
repr.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
result.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
rtdeps.rs Remove libc from std 2014-04-04 09:31:21 -07:00
slice.rs std: Change RandomAccessIterator to use &mut self 2014-04-23 10:03:43 -07:00
str.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
strbuf.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
task.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
to_str.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
tuple.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
ty.rs Fix an unnecessary use of cast::transmute 2014-04-05 20:38:35 +02:00
unicode.rs Convert most code to new inner attribute syntax. 2014-03-28 17:12:21 -07:00
unit.rs std: remove the equals method from TotalEq. 2014-03-23 23:48:10 +11:00
vec.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00