mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
c1ccdb7d0c
Support `char::encode_utf16` in const scenarios. Relevant tracking issue: #130660 The method `char::encode_utf16` should be marked "const" to allow compile-time conversions. This PR additionally rewrites the `encode_utf16_raw` function for better readability whilst also reducing the amount of unsafe code. try-job: x86_64-msvc |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |