Skip to content

Commit 4aac9b0

Browse files
author
Yuki Okushi
authored
Rollup merge of rust-lang#103104 - SUPERCILEX:sep-ref, r=dtolnay
Stabilize `main_separator_str` See reasoning here: rust-lang#94071 (comment). Closes rust-lang#94071.
2 parents 2afe585 + b8d560c commit 4aac9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ pub const MAIN_SEPARATOR: char = crate::sys::path::MAIN_SEP;
271271
/// The primary separator of path components for the current platform.
272272
///
273273
/// For example, `/` on Unix and `\` on Windows.
274-
#[unstable(feature = "main_separator_str", issue = "94071")]
274+
#[stable(feature = "main_separator_str", since = "CURRENT_RUSTC_VERSION")]
275275
pub const MAIN_SEPARATOR_STR: &str = crate::sys::path::MAIN_SEP_STR;
276276

277277
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)