Closed
Description
Feature gate: #![feature(const_char_encode_utf8)]
This is a tracking issue for supporting char::encode_utf8
in const scenarios.
Public API
impl char {
pub const fn encode_utf8(self, dst: &mut [u8]) -> &mut str;
}
Steps / History
- Implementation: Support
char::encode_utf8
in const scenarios. #130511 - Address diagnostics: Address diagnostics regression for
const_char_encode_utf8
. #130611 - Final comment period (FCP)
- Stabilization PR: Stabilise
const_char_encode_utf8
. #131463
Unresolved Questions
- None yet.