Closed
Description
Feature gate: #![feature(main_separator_str)]
This is a tracking issue for adding a static path separator str to match the static char already available.
Public API
pub const MAIN_SEPARATOR: char = '/';
pub const MAIN_SEPARATOR_STR: &str = "/";
Steps / History
- Implementation: Add MAIN_SEPARATOR_STR #93976
- Final comment period (FCP)
- Stabilization PR
Unresolved Questions
Can we combine the char and str API into one type that AsRef
s to char, str, u8 etc. as needed?