Skip to content

Commit

Permalink
Auto merge of #124905 - reitermarkus:u32-from-char-opt, r=scottmcm
Browse files Browse the repository at this point in the history
Allow optimizing `u32::from::<char>`.

Extracted from rust-lang/rust#124307.

This allows optimizing the panicking branch in the `escape_unicode` function, see https://rust.godbolt.org/z/61YhKrhvP.
  • Loading branch information
bors committed Jul 27, 2024
2 parents 579c5b3 + 09ab530 commit cf2d1a9
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit cf2d1a9

Please sign in to comment.