<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcore/tests, branch 1.37.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.37.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.37.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-06-20T06:36:00+00:00</updated>
<entry>
<title>Rollup merge of #60772 - timvermeulen:slice_iter_nth_back, r=scottmcm</title>
<updated>2019-06-20T06:36:00+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-06-20T06:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e7e131b8e4ee2addf7f0ae64108a4da8210b369'/>
<id>urn:sha1:2e7e131b8e4ee2addf7f0ae64108a4da8210b369</id>
<content type='text'>
Implement nth_back for slice::{Iter, IterMut}

Part of #54054.

I implemented `nth_back` as straightforwardly as I could, and then slightly changed `nth` to match `nth_back`. I believe I did so correctly, but please double-check 🙂

I also added the helper methods `zst_shrink`, `next_unchecked`, and `next_back_unchecked` to get rid of some duplicated code. These changes hopefully make this code easier to understand for new contributors like me.

I noticed the `is_empty!` and `len!` macros which sole purpose seems to be inlining, according to the comment right above them, but the `is_empty` and `len` methods are already marked with `#[inline(always)]`. Does that mean we could replace these macros with method calls, without affecting anything? I'd love to get rid of them.
</content>
</entry>
<entry>
<title>Rollup merge of #60454 - acrrd:issues/54054_skip, r=scottmcm</title>
<updated>2019-06-20T06:35:58+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-06-20T06:35:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3e08f1b57ea6df87ee2d01f31339958998f8ea26'/>
<id>urn:sha1:3e08f1b57ea6df87ee2d01f31339958998f8ea26</id>
<content type='text'>
Add custom nth_back to Skip

Implementation of nth_back for Skip.
Part of #54054
</content>
</entry>
<entry>
<title>Rollup merge of #61398 - kennytm:stabilize-copy-within, r=SimonSapin</title>
<updated>2019-06-12T23:49:26+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-06-12T23:49:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a1ff450a68e115e884f3ced8ba17fe5971202da4'/>
<id>urn:sha1:a1ff450a68e115e884f3ced8ba17fe5971202da4</id>
<content type='text'>
Stabilize copy_within

Closes #54236.
</content>
</entry>
<entry>
<title>Rollup merge of #61671 - koalatux:nth-back-range, r=KodrAus</title>
<updated>2019-06-12T02:22:51+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-06-12T02:22:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3a8dc44f3cb78b8ef98fc3ce76be256477830ac7'/>
<id>urn:sha1:3a8dc44f3cb78b8ef98fc3ce76be256477830ac7</id>
<content type='text'>
implement nth_back for Range(Inclusive)

This is part of  #54054.
</content>
</entry>
<entry>
<title>implement nth_back for RangeInclusive</title>
<updated>2019-06-09T20:45:11+00:00</updated>
<author>
<name>Adrian Friedli</name>
<email>adi@koalatux.ch</email>
</author>
<published>2019-06-09T20:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8590074a01364c2263f6e3c3c42e4137e2f77b65'/>
<id>urn:sha1:8590074a01364c2263f6e3c3c42e4137e2f77b65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Miri: disable a slow test</title>
<updated>2019-06-09T12:04:30+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2019-06-09T11:58:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=60d8675312e9732c1b27cddc72943ae0b091386d'/>
<id>urn:sha1:60d8675312e9732c1b27cddc72943ae0b091386d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>implement nth_back for Range</title>
<updated>2019-06-08T20:30:45+00:00</updated>
<author>
<name>Adrian Friedli</name>
<email>adi@koalatux.ch</email>
</author>
<published>2019-06-08T20:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26d4c8f01c07fdb3b0c0354dd9b509c955a87e9c'/>
<id>urn:sha1:26d4c8f01c07fdb3b0c0354dd9b509c955a87e9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #61376 - czipperz:bound-cloned, r=sfackler</title>
<updated>2019-06-06T20:39:09+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-06-06T20:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=654854fdb56ca204bab6b399bf59a8d753e2c13c'/>
<id>urn:sha1:654854fdb56ca204bab6b399bf59a8d753e2c13c</id>
<content type='text'>
Add Bound::cloned()

Suggested by #61356
</content>
</entry>
<entry>
<title>Update src/libcore/tests/slice.rs</title>
<updated>2019-06-03T16:27:28+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2019-06-03T16:27:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=427f1a49f677395fbc4415f2917207fb7e4bc061'/>
<id>urn:sha1:427f1a49f677395fbc4415f2917207fb7e4bc061</id>
<content type='text'>
Co-Authored-By: Jack O'Connor &lt;oconnor663@gmail.com&gt;</content>
</entry>
<entry>
<title>copy_within: replace element access by pointer arithmetic to avoid UB</title>
<updated>2019-06-02T15:30:18+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2019-06-02T15:30:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aac9bc5ffac941b5880ad269076169b752a1c7e9'/>
<id>urn:sha1:aac9bc5ffac941b5880ad269076169b752a1c7e9</id>
<content type='text'>
This ensures we won't accidentally read *src or *dest even when count = 0.
</content>
</entry>
</feed>
