about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2023-01-08 17:01:46 +0900
committerGitHub <noreply@github.com>2023-01-08 17:01:46 +0900
commited77ffe166506422f208f3a3870e77893ae84449 (patch)
tree7479061e7409657718c35f537f735780f55ed24c
parent2afe58571e53d48a1fc2354271abe5aff60c5c44 (diff)
parentb8d560c19015b9d44f84d6f0396cf713b30f4db7 (diff)
downloadrust-ed77ffe166506422f208f3a3870e77893ae84449.tar.gz
rust-ed77ffe166506422f208f3a3870e77893ae84449.zip
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.
-rw-r--r--library/std/src/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/path.rs b/library/std/src/path.rs
index 19d8f1edaf4..82d68369312 100644
--- a/library/std/src/path.rs
+++ b/library/std/src/path.rs
@@ -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;
 
 ////////////////////////////////////////////////////////////////////////////////