Rollup merge of #103104 - SUPERCILEX:sep-ref, r=dtolnay
Stabilize `main_separator_str` See reasoning here: https://github.com/rust-lang/rust/issues/94071#issuecomment-1279872605. Closes #94071.
This commit is contained in:
@@ -271,7 +271,7 @@ pub const MAIN_SEPARATOR: char = crate::sys::path::MAIN_SEP;
|
|||||||
/// The primary separator of path components for the current platform.
|
/// The primary separator of path components for the current platform.
|
||||||
///
|
///
|
||||||
/// For example, `/` on Unix and `\` on Windows.
|
/// For example, `/` on Unix and `\` on Windows.
|
||||||
#[unstable(feature = "main_separator_str", issue = "94071")]
|
#[stable(feature = "main_separator_str", since = "CURRENT_RUSTC_VERSION")]
|
||||||
pub const MAIN_SEPARATOR_STR: &str = crate::sys::path::MAIN_SEP_STR;
|
pub const MAIN_SEPARATOR_STR: &str = crate::sys::path::MAIN_SEP_STR;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user