Uh oh!
There was an error while loading. Please reload this page.
Match <OsString as Debug>::fmt to that of str - #148798
Conversation
rustbot
commented
Nov 10, 2025
r? @ChrisDenton rustbot has assigned @ChrisDenton. Use |
tamird
commented
Nov 13, 2025
819247f changed <str as Debug>::fmt such that it does not escape single quotes, but neglected to apply the same choice to OsString. This commit does that.
1b52275 to
eb84efcComparerustbot
commented
Nov 17, 2025
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Amanieu
commented
Nov 19, 2025
This was discussed in the @rust-lang/libs meeting: we're fine with this, but would like it to be mentioned in the release notes even though it is technically an allowed change (we reserve the right to change |
Amanieu
commented
Nov 19, 2025
@bors r+ |
bors
commented
Nov 19, 2025
Rollup of 7 pull requests Successful merges: - #147171 (recommend using a HashMap if a HashSet's second generic parameter doesn't implement BuildHasher) - #147421 (Add check if span is from macro expansion) - #147521 (Make SIMD intrinsics available in `const`-contexts) - #148201 (Start documenting autodiff activities) - #148797 (feat: Add `bit_width` for unsigned `NonZero<T>`) - #148798 (Match <OsString as Debug>::fmt to that of str) - #149082 (autodiff: update formating, improve examples for the unstable-book) r? `@ghost` `@rustbot` modify labels: rollup
Uh oh!
There was an error while loading. Please reload this page.
Rollup of 7 pull requests Successful merges: - rust-lang/rust#147171 (recommend using a HashMap if a HashSet's second generic parameter doesn't implement BuildHasher) - rust-lang/rust#147421 (Add check if span is from macro expansion) - rust-lang/rust#147521 (Make SIMD intrinsics available in `const`-contexts) - rust-lang/rust#148201 (Start documenting autodiff activities) - rust-lang/rust#148797 (feat: Add `bit_width` for unsigned `NonZero<T>`) - rust-lang/rust#148798 (Match <OsString as Debug>::fmt to that of str) - rust-lang/rust#149082 (autodiff: update formating, improve examples for the unstable-book) r? `@ghost` `@rustbot` modify labels: rollup
Match <OsString as Debug>::fmt to that of str Fixesrust-lang#114583.
Fixes#114583.