<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/core/tests/array.rs, branch 1.77.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-01-11T12:04:48+00:00</updated>
<entry>
<title>apply fmt</title>
<updated>2024-01-11T12:04:48+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2024-01-11T12:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa696c5a228a2c9730227eb5a0e99fb9d85eb61d'/>
<id>urn:sha1:aa696c5a228a2c9730227eb5a0e99fb9d85eb61d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adjust library tests for unused_tuple_struct_fields -&gt; dead_code</title>
<updated>2024-01-02T20:34:37+00:00</updated>
<author>
<name>Jake Goulding</name>
<email>jake.goulding@gmail.com</email>
</author>
<published>2023-12-27T23:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5772818dc8f4c5a0fec1f5b35b33e85764dcd4f4'/>
<id>urn:sha1:5772818dc8f4c5a0fec1f5b35b33e85764dcd4f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove redundant imports</title>
<updated>2023-12-10T02:56:22+00:00</updated>
<author>
<name>surechen</name>
<email>chenshuo17@huawei.com</email>
</author>
<published>2023-11-10T02:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40ae34194c586eea3614d3216322053d2e8e7b37'/>
<id>urn:sha1:40ae34194c586eea3614d3216322053d2e8e7b37</id>
<content type='text'>
detects redundant imports that can be eliminated.

for #117772 :

In order to facilitate review and modification, split the checking code and
removing redundant imports code into two PR.
</content>
</entry>
<entry>
<title>MIRI -&gt; Miri</title>
<updated>2023-10-02T06:35:08+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-10-02T06:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bfc0f23acb49adbd55a04ed84fba4badc0a1be04'/>
<id>urn:sha1:bfc0f23acb49adbd55a04ed84fba4badc0a1be04</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ignore core, alloc and test tests that require unwinding on panic=abort</title>
<updated>2023-06-13T13:53:24+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro.albini@ferrous-systems.com</email>
</author>
<published>2023-06-05T13:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44556eed363ea17a755a137c68e0af9ab6f522b1'/>
<id>urn:sha1:44556eed363ea17a755a137c68e0af9ab6f522b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace advance_by returning usize with Result&lt;(), NonZeroUsize&gt;</title>
<updated>2023-03-27T14:03:14+00:00</updated>
<author>
<name>The 8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2023-03-13T19:07:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e29b27b4a4c6b6fc80e38d2747c8076a59475c03'/>
<id>urn:sha1:e29b27b4a4c6b6fc80e38d2747c8076a59475c03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change advance(_back)_by to return `usize` instead of `Result&lt;(), usize&gt;`</title>
<updated>2023-03-27T12:11:49+00:00</updated>
<author>
<name>The 8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2021-12-26T02:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69db91b8b25de51633ac9f089cd7fb10a58c2b2a'/>
<id>urn:sha1:69db91b8b25de51633ac9f089cd7fb10a58c2b2a</id>
<content type='text'>
A successful advance is now signalled by returning `0` and other values now represent the remaining number
of steps that couldn't be advanced as opposed to the amount of steps that have been advanced during a partial advance_by.

This simplifies adapters a bit, replacing some `match`/`if` with arithmetic. Whether this is beneficial overall depends
on whether `advance_by` is mostly used as a building-block for other iterator methods and adapters or whether
we also see uses by users where `Result` might be more useful.
</content>
</entry>
<entry>
<title>Stop using `into_iter` in `array::map`</title>
<updated>2023-02-05T00:41:35+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-02-03T04:58:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a7342c3dde43c96a71bc27995030896342761f6'/>
<id>urn:sha1:5a7342c3dde43c96a71bc27995030896342761f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize core::array::from_fn</title>
<updated>2022-05-20T14:04:13+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2022-05-20T14:04:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d917112606efb0d1056e91adada7ba3e63641f4f'/>
<id>urn:sha1:d917112606efb0d1056e91adada7ba3e63641f4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix `array::IntoIter::fold` to use the optimized `Range::fold`</title>
<updated>2022-04-02T21:29:41+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2022-04-02T21:29:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=83595f9242ad9e8a7da091f65d450e44e4434f89'/>
<id>urn:sha1:83595f9242ad9e8a7da091f65d450e44e4434f89</id>
<content type='text'>
It was using `Iterator::by_ref` in the implementation, which ended up pessimizing it enough that, for example, it didn't vectorize when we tried it in the &lt;https://rust-lang.zulipchat.com/#narrow/stream/257879-project-portable-simd/topic/Reducing.20sum.20into.20wider.20types&gt; conversation.

Demonstration that the codegen test doesn't pass on the current nightly: &lt;https://rust.godbolt.org/z/Taxev5eMn&gt;
</content>
</entry>
</feed>
