@@ -1204,13 +1204,12 @@ impl OsStr {
12041204 /// # Examples
12051205 ///
12061206 /// ```
1207- /// #![feature(os_str_display)]
12081207 /// use std::ffi::OsStr;
12091208 ///
12101209 /// let s = OsStr::new("Hello, world!");
12111210 /// println!("{}", s.display());
12121211 /// ```
1213- #[ unstable ( feature = "os_str_display" , issue = "120048 " ) ]
1212+ #[ stable ( feature = "os_str_display" , since = "CURRENT_RUSTC_VERSION " ) ]
12141213 #[ must_use = "this does not display the `OsStr`; \
12151214 it returns an object that can be displayed"]
12161215 #[ inline]
@@ -1559,7 +1558,6 @@ impl fmt::Debug for OsStr {
15591558/// # Examples
15601559///
15611560/// ```
1562- /// #![feature(os_str_display)]
15631561/// use std::ffi::OsStr;
15641562///
15651563/// let s = OsStr::new("Hello, world!");
@@ -1568,19 +1566,19 @@ impl fmt::Debug for OsStr {
15681566///
15691567/// [`Display`]: fmt::Display
15701568/// [`format!`]: crate::format
1571- #[ unstable ( feature = "os_str_display" , issue = "120048 " ) ]
1569+ #[ stable ( feature = "os_str_display" , since = "CURRENT_RUSTC_VERSION " ) ]
15721570pub struct Display < ' a > {
15731571 os_str : & ' a OsStr ,
15741572}
15751573
1576- #[ unstable ( feature = "os_str_display" , issue = "120048 " ) ]
1574+ #[ stable ( feature = "os_str_display" , since = "CURRENT_RUSTC_VERSION " ) ]
15771575impl fmt:: Debug for Display < ' _ > {
15781576 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
15791577 fmt:: Debug :: fmt ( & self . os_str , f)
15801578 }
15811579}
15821580
1583- #[ unstable ( feature = "os_str_display" , issue = "120048 " ) ]
1581+ #[ stable ( feature = "os_str_display" , since = "CURRENT_RUSTC_VERSION " ) ]
15841582impl fmt:: Display for Display < ' _ > {
15851583 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
15861584 fmt:: Display :: fmt ( & self . os_str . inner , f)
0 commit comments