about summary refs log tree commit diff
path: root/library/std/src/path.rs
diff options
context:
space:
mode:
authorKivooeo <Kivooeo123@gmail.com>2025-08-04 01:06:04 +0500
committerKivooeo <Kivooeo123@gmail.com>2025-08-04 02:18:18 +0500
commit4c4b8b23c6935e719ca01b614922024abb694656 (patch)
treef52ddd2749d76d9b74177c502d896ce3cede3695 /library/std/src/path.rs
parent7cd950546b4ce68843b4cbdb1ab3a43776202d3a (diff)
downloadrust-4c4b8b23c6935e719ca01b614922024abb694656.tar.gz
rust-4c4b8b23c6935e719ca01b614922024abb694656.zip
remove gate
Diffstat (limited to 'library/std/src/path.rs')
-rw-r--r--library/std/src/path.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/path.rs b/library/std/src/path.rs
index 055e7f81480..5dd52a23e97 100644
--- a/library/std/src/path.rs
+++ b/library/std/src/path.rs
@@ -2678,7 +2678,6 @@ impl Path {
     /// # Examples
     ///
     /// ```
-    /// # #![feature(path_file_prefix)]
     /// use std::path::Path;
     ///
     /// assert_eq!("foo", Path::new("foo.rs").file_prefix().unwrap());
@@ -2691,7 +2690,7 @@ impl Path {
     ///
     /// [`Path::file_stem`]: Path::file_stem
     ///
-    #[unstable(feature = "path_file_prefix", issue = "86319")]
+    #[stable(feature = "path_file_prefix", since = "CURRENT_RUSTC_VERSION")]
     #[must_use]
     pub fn file_prefix(&self) -> Option<&OsStr> {
         self.file_name().map(split_file_at_dot).and_then(|(before, _after)| Some(before))