<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/alloc/src, 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-25T14:36:51+00:00</updated>
<entry>
<title>Revert "Auto merge of #144086 - clubby789:alloc-zeroed, r=nikic"</title>
<updated>2025-09-25T14:36:51+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2025-09-25T14:36:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=186d91daf73188357d569b41906aa5f44a55dfba'/>
<id>urn:sha1:186d91daf73188357d569b41906aa5f44a55dfba</id>
<content type='text'>
This reverts commit 040a98af70f0a7da03f3d5356531b28a2a7a77e4, reversing
changes made to e8a792daf500b5ff8097896ddb6cc037abe92487.
</content>
</entry>
<entry>
<title>Update CURRENT_RUSTC_VERSION post-bump</title>
<updated>2025-09-14T18:43: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=03265b459f0fb0138c8197377ea3eba279989709'/>
<id>urn:sha1:03265b459f0fb0138c8197377ea3eba279989709</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #145471 - rs-sac:extr, r=the8472</title>
<updated>2025-09-13T07:26:02+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-09-13T07:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b37a1e4aea3fc2b70d1062d65c88269412dd938'/>
<id>urn:sha1:5b37a1e4aea3fc2b70d1062d65c88269412dd938</id>
<content type='text'>
Stabilize BTree{Map,Set}::extract_if

Tracking issue: rust-lang/rust#70530
FCP completed: https://github.com/rust-lang/rust/issues/70530#issuecomment-3191454465
Closes: rust-lang/rust#70530
</content>
</entry>
<entry>
<title>optimization: Don't include ASCII characters in Unicode tables</title>
<updated>2025-09-07T13:21:24+00:00</updated>
<author>
<name>Karl Meakin</name>
<email>karl.meakin@arm.com</email>
</author>
<published>2025-08-02T22:32:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8c669461f0c71985c72dd5b05f70b8d4d149e3b'/>
<id>urn:sha1:a8c669461f0c71985c72dd5b05f70b8d4d149e3b</id>
<content type='text'>
The ASCII subset of Unicode is fixed and will never change, so we don't
need to generate tables for it with every new Unicode version. This
saves a few bytes of static data and speeds up `char::is_control` and
`char::is_grapheme_extended` on ASCII inputs.

Since the table lookup functions exported from the `unicode` module will
give nonsensical errors on ASCII input (and in fact will panic in debug
mode), I had to add some private wrapper methods to `char` which check
for ASCII-ness first.
</content>
</entry>
<entry>
<title>Rollup merge of #145750 - btj:drop-alloc-guard, r=tgross35</title>
<updated>2025-09-04T00:01:53+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-04T00:01:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d71a9b6bcf9aae816291c560432b728f7d7f3494'/>
<id>urn:sha1:d71a9b6bcf9aae816291c560432b728f7d7f3494</id>
<content type='text'>
raw_vec.rs: Remove superfluous fn alloc_guard

`alloc_guard` checks that its argument is at most `isize::MAX`, but it is called only with layout sizes, which are already guaranteed to be at most `isize::MAX`.
</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>raw_vec.rs: Remove superfluous fn alloc_guard</title>
<updated>2025-09-03T05:34:32+00:00</updated>
<author>
<name>Bart Jacobs</name>
<email>bart.jacobs@cs.kuleuven.be</email>
</author>
<published>2025-08-22T13:28:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d9dc20c7529d93ba4e1f91c9e44fb882c07aa1c0'/>
<id>urn:sha1:d9dc20c7529d93ba4e1f91c9e44fb882c07aa1c0</id>
<content type='text'>
It checks that its argument is at most isize::MAX, but it is called
only with layout sizes, which are already guaranteed to be at most
isize::MAX.
</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>Rollup merge of #145592 - nilotpal-n7:fix-format-alignment, r=lcnr</title>
<updated>2025-08-31T11:40:35+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-08-31T11:40:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e5f96e3b4370286ec972e4bb7a26566e8e98e1ea'/>
<id>urn:sha1:e5f96e3b4370286ec972e4bb7a26566e8e98e1ea</id>
<content type='text'>
Fix format string grammar in docs and improve alignment error message for #144023

This PR improves error messages and documentation for format strings involving alignment and formatting traits.

Highlights:

- Clearer error messages for invalid alignment specifiers (e.g., `{0:#X&gt;18}`), showing the expected `&lt;`, `^`, or `&gt;` and a working example:

    println!("{0:&gt;#18X}", value);

- Updated UI test `format-alignment-hash.rs` to reflect the improved error output.
- Documentation clarification: ensures examples correctly show how width, alignment, and traits like `x`, `X`, `#` combine.

Motivation:
Previously, using `#` with alignment and width produced confusing errors. This PR guides users on the correct syntax and provides actionable examples.

Testing:
- Built the compiler (`./x build`)
- Blessed and ran UI tests (`./x. test src/test/ui/fmt/format-alignment-hash.rs --bless`)
- Verified full test suite passes (`./x test`)

Issue: rust-lang/rust#144023
</content>
</entry>
<entry>
<title>Stabilize BTree{Map,Set}::extract_if</title>
<updated>2025-08-27T18:34:31+00:00</updated>
<author>
<name>Sidney Cammeresi</name>
<email>sac@readyset.io</email>
</author>
<published>2025-08-15T15:45:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8a7f82bdab57302ca07ea5f3b3fa5173ed9f9ae'/>
<id>urn:sha1:f8a7f82bdab57302ca07ea5f3b3fa5173ed9f9ae</id>
<content type='text'>
</content>
</entry>
</feed>
