Uh oh!
There was an error while loading. Please reload this page.
Implement clamp_magnitude method for primitive floats & signed integers - #148690
Conversation
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rustbot
commented
Nov 8, 2025
Uh oh!
There was an error while loading. Please reload this page.
IntegralPilot
commented
Nov 9, 2025
@rustbot label -T-compiler |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
Oh sorry, I'm currently without the ability to test a build locally for the moment so am using the CI to do so, I'll try and fix the issues the new commit introduced now. |
This comment has been minimized.
This comment has been minimized.
joboet
commented
Nov 30, 2025
No worries! |
Added feature gate, documentation and tests also.
IntegralPilot
commented
Dec 1, 2025
Thanks so much for your review! I've squashed now. |
joboet
commented
Dec 1, 2025
👍 |
bors
commented
Dec 1, 2025
Rollup of 9 pull requests Successful merges: - #148690 (Implement `clamp_magnitude` method for primitive floats & signed integers) - #149102 (stabilize maybe_uninit_slice) - #149269 (cmse: do not calculate the layout of a type with infer types) - #149299 (Fudge infer vars in the cause code of `Obligation` intentionally) - #149344 (Don't suggest unwrap for Result in const) - #149358 (fix(parse): Limit frontmatter fences to 255 dashes ) - #149445 (make assoc fn inherit const stability from inherent `const impl` blocks) - #149479 (Fix indent in E0591.md) - #149496 (Fix#148889: Add label rib when visiting delegation body) r? `@ghost` `@rustbot` modify labels: rollup
Uh oh!
There was an error while loading. Please reload this page.
Rollup merge of #148690 - IntegralPilot:clamp-mag, r=joboet Implement `clamp_magnitude` method for primitive floats & signed integers Tracking issue #148519 ACP rust-lang/libs-team#686
Rollup of 9 pull requests Successful merges: - rust-lang/rust#148690 (Implement `clamp_magnitude` method for primitive floats & signed integers) - rust-lang/rust#149102 (stabilize maybe_uninit_slice) - rust-lang/rust#149269 (cmse: do not calculate the layout of a type with infer types) - rust-lang/rust#149299 (Fudge infer vars in the cause code of `Obligation` intentionally) - rust-lang/rust#149344 (Don't suggest unwrap for Result in const) - rust-lang/rust#149358 (fix(parse): Limit frontmatter fences to 255 dashes ) - rust-lang/rust#149445 (make assoc fn inherit const stability from inherent `const impl` blocks) - rust-lang/rust#149479 (Fix indent in E0591.md) - rust-lang/rust#149496 (Fixrust-lang/rust#148889: Add label rib when visiting delegation body) r? `@ghost` `@rustbot` modify labels: rollup
Implement `clamp_magnitude` method for primitive floats & signed integers Tracking issue rust-lang#148519 ACP rust-lang/libs-team#686
Tracking issue #148519
ACP rust-lang/libs-team#686