<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/core/src/num, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-04T09:52:21+00:00</updated>
<entry>
<title>replace version placeholder</title>
<updated>2025-08-04T09:52:21+00:00</updated>
<author>
<name>Boxy</name>
<email>rust@boxyuwu.dev</email>
</author>
<published>2025-08-04T09:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c822d038a785fa95124305ee154e88d314b78e7'/>
<id>urn:sha1:3c822d038a785fa95124305ee154e88d314b78e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #144205 - hkBst:flt2dec, r=workingjubilee</title>
<updated>2025-07-22T08:28:29+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-22T08:28:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0b282f0ccdab7523cdb8dfa41b23bed5573da76'/>
<id>urn:sha1:c0b282f0ccdab7523cdb8dfa41b23bed5573da76</id>
<content type='text'>
flt2dec: replace for loop by iter_mut

Perf is explored in https://github.com/rust-lang/rust/issues/144118, which initially showed small losses, but then also showed significant gains. Both are real, but given the smallness of the losses, this seems a good change.
</content>
</entry>
<entry>
<title>Rollup merge of #143768 - Randl:const-try, r=oli-obk</title>
<updated>2025-07-21T16:54:26+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-07-21T16:54:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f8b531b5426544966adcb1858f8412af9155371'/>
<id>urn:sha1:1f8b531b5426544966adcb1858f8412af9155371</id>
<content type='text'>
Constify Try, From, TryFrom and relevant traits
</content>
</entry>
<entry>
<title>Constify Try, From, TryFrom</title>
<updated>2025-07-21T09:49:45+00:00</updated>
<author>
<name>Evgenii Zheltonozhskii</name>
<email>zheltonozhskiy@gmail.com</email>
</author>
<published>2025-07-21T09:49:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c76e3d0026ea9904358b1614bbd9c4f8b7cedf5'/>
<id>urn:sha1:3c76e3d0026ea9904358b1614bbd9c4f8b7cedf5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>flt2dec: use fill instead of loop</title>
<updated>2025-07-20T18:45:11+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-07-20T05:33:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f147716e7d5a3b4e1e4c0e8b5b5dd26da00cdab0'/>
<id>urn:sha1:f147716e7d5a3b4e1e4c0e8b5b5dd26da00cdab0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143423 - hkBst:clippy-fix-1, r=workingjubilee</title>
<updated>2025-07-20T13:34:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-20T13:34:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5ba1251b55ed560aabf92c81db6a6612de5f648e'/>
<id>urn:sha1:5ba1251b55ed560aabf92c81db6a6612de5f648e</id>
<content type='text'>
address clippy formatting nits

- int_log10.rs: change top level doc comments to outer
- collect.rs: remove empty line after doc comment
- clippy fix: markdown indentation for indented items after line break: a markdown list item continued over multiples lines, but those following lines which are part of the same item are not indented
- clippy fix: bound in one place: when there is a bound in angle brackets and another bound on the same variable in a where clause
</content>
</entry>
<entry>
<title>Rollup merge of #143282 - nxsaken:strict_sub_signed, r=jhpratt</title>
<updated>2025-07-20T13:34:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-20T13:34:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0162cc50e37786d79a1aeadd1cf9da1612f64309'/>
<id>urn:sha1:0162cc50e37786d79a1aeadd1cf9da1612f64309</id>
<content type='text'>
Add `uX::strict_sub_signed`

rust-lang/rust#116090 missed `strict_sub_signed`, adding it here.
Part of rust-lang/rust#118260.

r? ``@m-ou-se``
</content>
</entry>
<entry>
<title>Stabilize `const_float_round_methods`</title>
<updated>2025-07-19T20:08:58+00:00</updated>
<author>
<name>Nurzhan Sakén</name>
<email>nurzhan.sakenov@gmail.com</email>
</author>
<published>2025-07-07T18:48:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca01e7de6fae15337df4b612869353523b3c947d'/>
<id>urn:sha1:ca01e7de6fae15337df4b612869353523b3c947d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make `NonZero` `const PartialEq`</title>
<updated>2025-07-17T15:42:54+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-07-11T10:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d29583355018f00d65b9d5e08758e3f9bcba97c'/>
<id>urn:sha1:9d29583355018f00d65b9d5e08758e3f9bcba97c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143355 - hkBst:cleanup-shift-double-bitmask, r=Mark-Simulacrum</title>
<updated>2025-07-16T15:06:38+00:00</updated>
<author>
<name>Samuel Tardieu</name>
<email>sam@rfc1149.net</email>
</author>
<published>2025-07-16T15:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37aba8388e93c9beeb092cbfa4540555d67a0af9'/>
<id>urn:sha1:37aba8388e93c9beeb092cbfa4540555d67a0af9</id>
<content type='text'>
wrapping shift: remove first bitmask and table

```rust
        #[inline(always)]
        pub const fn wrapping_shl(self, rhs: u32) -&gt; Self {
            // SAFETY: the masking by the bitsize of the type ensures that we do not shift
            // out of bounds
            unsafe {
                self.unchecked_shl(rhs &amp; (Self::BITS - 1))
            }
        }
```
already does the bitmask, so it seems unnecessary here.

More context: internals.rust-lang.org/t/wrapping-shift-operator-code-doing-bitmasking-twice/23167
</content>
</entry>
</feed>
