Skip to content

Commit

Permalink
Rollup merge of rust-lang#103104 - SUPERCILEX:sep-ref, r=dtolnay
Browse files Browse the repository at this point in the history
Stabilize `main_separator_str`

See reasoning here: rust-lang#94071 (comment). Closes rust-lang#94071.
  • Loading branch information
Yuki Okushi committed Jan 8, 2023
2 parents 2afe585 + b8d560c commit 4aac9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ pub const MAIN_SEPARATOR: char = crate::sys::path::MAIN_SEP;
/// The primary separator of path components for the current platform.
///
/// 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;

////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 4aac9b0

Please sign in to comment.