<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/core/src/ops, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-12T09:39:31+00:00</updated>
<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>clean up some old const trait impl syntax</title>
<updated>2025-09-06T02:35:52+00:00</updated>
<author>
<name>Nathaniel McCallum</name>
<email>nathaniel@mccallum.life</email>
</author>
<published>2025-09-01T02:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=00fcb14e4e6e4fb28fde6a286fd9ac30a2d457c7'/>
<id>urn:sha1:00fcb14e4e6e4fb28fde6a286fd9ac30a2d457c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #146136 - AudaciousAxiom:docs/missing-closing-code-block-fences, r=tgross35</title>
<updated>2025-09-04T00:02:02+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-04T00:02:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b27c94af613a843b5093000544fc2be66a749701'/>
<id>urn:sha1:b27c94af613a843b5093000544fc2be66a749701</id>
<content type='text'>
docs(std): add missing closing code block fences in doc comments

This PR adds a few closing code block fences which I believe are missing in some doc comments. It seems that rustdoc just autocloses code blocks at the end of doc comments and thus these were easily overlooked: I do not think these code blocks are special in any way.

I found these when working on a Clippy lint that checks the last sentence of doc comments for terminal punctuation, and these were failing cases when testing against the std. Therefore I am not entirely sure these are all such cases, but still have high hopes that they are (or at least a well-defined subset of them).
</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>docs(std): add missing closing code block fences in doc comments</title>
<updated>2025-09-02T20:11:29+00:00</updated>
<author>
<name>AudaciousAxiom</name>
<email>179637270+AudaciousAxiom@users.noreply.github.com</email>
</author>
<published>2025-09-02T19:34:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a9e2e4aa8b388b25d146d86f70e55427bda8dd5'/>
<id>urn:sha1:5a9e2e4aa8b388b25d146d86f70e55427bda8dd5</id>
<content type='text'>
</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>constify impl Try for ControlFlow</title>
<updated>2025-09-01T12:43:38+00:00</updated>
<author>
<name>Nathaniel McCallum</name>
<email>nathaniel@mccallum.life</email>
</author>
<published>2025-09-01T06:40:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6be234074e454756d13cd3f969f427f94a5f4950'/>
<id>urn:sha1:6be234074e454756d13cd3f969f427f94a5f4950</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `#[must_use] and update `cloned` documentation</title>
<updated>2025-08-30T10:26:26+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-08-30T10:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=114c0c2fefbc90d1cb71f6a0c4d150174e73ca75'/>
<id>urn:sha1:114c0c2fefbc90d1cb71f6a0c4d150174e73ca75</id>
<content type='text'>
Signed-off-by: Connor Tsui &lt;connor.tsui20@gmail.com&gt;
Co-authored-by: Jonas Böttiger &lt;jonasboettiger@icloud.com&gt;
</content>
</entry>
<entry>
<title>add feature gate in doc test</title>
<updated>2025-08-30T09:48:27+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>87130162+connortsui20@users.noreply.github.com</email>
</author>
<published>2025-08-28T19:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c1255f0a46e7a8d22f17ad5705f0c8e2018bfe6'/>
<id>urn:sha1:9c1255f0a46e7a8d22f17ad5705f0c8e2018bfe6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add `Bound::copied`</title>
<updated>2025-08-30T09:48:27+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-08-28T18:53:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1112274275be9216b42ef2f27b1e85c5e88d67c5'/>
<id>urn:sha1:1112274275be9216b42ef2f27b1e85c5e88d67c5</id>
<content type='text'>
Signed-off-by: Connor Tsui &lt;connor.tsui20@gmail.com&gt;
</content>
</entry>
</feed>
