]> git.lizzy.rs Git - rust.git/commit
rollup merge of #20160: nick29581/ranges2
authorAlex Crichton <alex@alexcrichton.com>
Tue, 30 Dec 2014 00:35:53 +0000 (16:35 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 30 Dec 2014 00:35:53 +0000 (16:35 -0800)
commitdbc8440821d4abefb7603b2a22946b788a5f1eed
treea375c191f28046f5dcc02282bdc54e191a80337e
parent52315a97c6b004f0692ac52ccdd1ff33f22cfee9
parent113f8aa86b64c0be1981a69d110e42d22460b33c
rollup merge of #20160: nick29581/ranges2

The first six commits are from an earlier PR (#19858) and have already been reviewed. This PR makes an awful hack in the compiler to accommodate slices both natively and in the index a range form. After a snapshot we can hopefully add the new Index impls and then we can remove these awful hacks.

r? @nikomatsakis (or anyone who knows the compiler, really)
src/libcollections/slice.rs
src/libcore/slice.rs
src/libcore/str/mod.rs
src/libstd/io/mod.rs