<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/core/src/array, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-26T22:41:32+00:00</updated>
<entry>
<title>Update CURRENT_RUSTC_VERSION post-bump</title>
<updated>2025-09-26T22:41:32+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2025-09-14T14:30:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e9716fbc5fb0f85d838ee9350ade2be5c2a6201'/>
<id>urn:sha1:4e9716fbc5fb0f85d838ee9350ade2be5c2a6201</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Note some previous attempts to change the Default impl for `[T; 0]`</title>
<updated>2025-09-14T04:45:50+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-14T04:37:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=16c720645cac29e71cc897374bb462fab42a8682'/>
<id>urn:sha1:16c720645cac29e71cc897374bb462fab42a8682</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Constify Eq, Ord, PartialOrd</title>
<updated>2025-09-12T09:39:31+00:00</updated>
<author>
<name>Evgenii Zheltonozhskii</name>
<email>zheltonozhskiy@gmail.com</email>
</author>
<published>2025-09-12T09:39:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff9b1c1d285821fabe3cbf904fc407d62d95fbdc'/>
<id>urn:sha1:ff9b1c1d285821fabe3cbf904fc407d62d95fbdc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #146054 - joboet:array-repeat-must_use, r=ibraheemdev</title>
<updated>2025-09-04T00:01:58+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-04T00:01:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c7a11f42e0a6c07f68009c183878f6aaf1bc14ed'/>
<id>urn:sha1:c7a11f42e0a6c07f68009c183878f6aaf1bc14ed</id>
<content type='text'>
add `#[must_use]` to `array::repeat`
</content>
</entry>
<entry>
<title>Rollup merge of #145279 - clarfonthey:const-convert-initial, r=tgross35</title>
<updated>2025-09-03T13:08:06+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-03T13:08:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f4b946a14788df30b693a28e96aa18c9bee618ad'/>
<id>urn:sha1:f4b946a14788df30b693a28e96aa18c9bee618ad</id>
<content type='text'>
Constify conversion traits (part 1)

This is the first part of rust-lang/rust#144289 being split into smaller pieces. It adds/moves constness of several traits under the `const_convert` feature:

* `From`
* `Into`
* `TryFrom`
* `TryInto`
* `FromStr`
* `AsRef`
* `AsMut`
* `Borrow`
* `BorrowMut`
* `Deref`
* `DerefMut`

There are a few methods that are intrinsically tied to these traits which I've included in the feature. Particularly, those which are wrappers over `AsRef`:

* `ByteStr::new` (unstable under `bstr` feature)
* `OsStr::new`
* `Path::new`

Those which directly use `Into`:

* `Result::into_ok`
* `Result::into_err`

And those which use `Deref` and `DerefMut`:

* `Pin::as_ref`
* `Pin::as_mut`
* `Pin::as_deref_mut`
* `Option::as_deref`
* `Option::as_deref_mut`
* `Result::as_deref`
* `Result::as_deref_mut`

(note: the `Option` and `Result` methods were suggested by ``@npmccallum`` initially as rust-lang/rust#146101)

The parts which are missing from this PR are:

* Anything that involves heap-allocated types
* Making any method const than the ones listed above
* Anything that could rely on the above, *or* could rely on system-specific code for `OsStr` or `Path` (note: this mostly makes these methods useless since `str` doesn't implement `AsRef&lt;OsStr&gt;` yet, but it's better to track the method for now and add impls later, IMHO)

r? ``@tgross35`` (who mostly already reviewed this)
</content>
</entry>
<entry>
<title>Constify conversion traits</title>
<updated>2025-09-02T01:38:26+00:00</updated>
<author>
<name>ltdk</name>
<email>usr@ltdk.xyz</email>
</author>
<published>2025-08-11T23:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1c64d3e6d1fe6256cb11b8dd455ccad1b5f9848c'/>
<id>urn:sha1:1c64d3e6d1fe6256cb11b8dd455ccad1b5f9848c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add `#[must_use]` to `array::repeat`</title>
<updated>2025-08-31T11:52:06+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-08-31T11:52:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a44b180178b5d7787291df29f18d2495c0cad35b'/>
<id>urn:sha1:a44b180178b5d7787291df29f18d2495c0cad35b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #145465 - Kivooeo:stabilize-array_repeat, r=joboet</title>
<updated>2025-08-30T10:29:06+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-30T10:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5c19e839f177592e39691f779b0f8b057471a1a'/>
<id>urn:sha1:b5c19e839f177592e39691f779b0f8b057471a1a</id>
<content type='text'>
Stabilize `array_repeat` feature

This closes [tracking issue](https://github.com/rust-lang/rust/issues/126695) and stabilises `array::repeat`
</content>
</entry>
<entry>
<title>remove deprecated Error::description in impls</title>
<updated>2025-08-26T06:36:53+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-08-23T19:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=845311a065a5638c516ed96c73b09862b176b329'/>
<id>urn:sha1:845311a065a5638c516ed96c73b09862b176b329</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143383 - fee1-dead-contrib:push-mstmlwuskxyy, r=dtolnay</title>
<updated>2025-08-21T05:12:13+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-08-21T05:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8e62f0f0c3d277b86b50882050357fa77f16e972'/>
<id>urn:sha1:8e62f0f0c3d277b86b50882050357fa77f16e972</id>
<content type='text'>
stabilize `const_array_each_ref`

cc rust-lang/rust#133289, needs FCP.
</content>
</entry>
</feed>
