diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2017-12-27 14:11:05 +0000 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2017-12-27 14:11:05 +0000 |
| commit | a8d107be258514261a9366a8a384e370eb0a9628 (patch) | |
| tree | 9cae5f25d66361427dce83d520c9fc3ecb659719 /src/libstd | |
| parent | 0efdfa1d6220484770e3730062b92a9d2b2e20b9 (diff) | |
| download | rust-a8d107be258514261a9366a8a384e370eb0a9628.tar.gz rust-a8d107be258514261a9366a8a384e370eb0a9628.zip | |
Correct a few stability attributes
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ffi/c_str.rs | 8 | ||||
| -rw-r--r-- | src/libstd/ffi/os_str.rs | 8 | ||||
| -rw-r--r-- | src/libstd/path.rs | 8 | ||||
| -rw-r--r-- | src/libstd/sync/mutex.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sync/rwlock.rs | 2 |
5 files changed, 14 insertions, 14 deletions
diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs index a2022a2eeb2..a19fe825f21 100644 --- a/src/libstd/ffi/c_str.rs +++ b/src/libstd/ffi/c_str.rs @@ -706,7 +706,7 @@ impl From<CString> for Box<CStr> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl From<CString> for Arc<CStr> { #[inline] fn from(s: CString) -> Arc<CStr> { @@ -715,7 +715,7 @@ impl From<CString> for Arc<CStr> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl<'a> From<&'a CStr> for Arc<CStr> { #[inline] fn from(s: &CStr) -> Arc<CStr> { @@ -724,7 +724,7 @@ impl<'a> From<&'a CStr> for Arc<CStr> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl From<CString> for Rc<CStr> { #[inline] fn from(s: CString) -> Rc<CStr> { @@ -733,7 +733,7 @@ impl From<CString> for Rc<CStr> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl<'a> From<&'a CStr> for Rc<CStr> { #[inline] fn from(s: &CStr) -> Rc<CStr> { diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index cb902461f39..109173d31c5 100644 --- a/src/libstd/ffi/os_str.rs +++ b/src/libstd/ffi/os_str.rs @@ -594,7 +594,7 @@ impl From<OsString> for Box<OsStr> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl From<OsString> for Arc<OsStr> { #[inline] fn from(s: OsString) -> Arc<OsStr> { @@ -603,7 +603,7 @@ impl From<OsString> for Arc<OsStr> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl<'a> From<&'a OsStr> for Arc<OsStr> { #[inline] fn from(s: &OsStr) -> Arc<OsStr> { @@ -612,7 +612,7 @@ impl<'a> From<&'a OsStr> for Arc<OsStr> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl From<OsString> for Rc<OsStr> { #[inline] fn from(s: OsString) -> Rc<OsStr> { @@ -621,7 +621,7 @@ impl From<OsString> for Rc<OsStr> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl<'a> From<&'a OsStr> for Rc<OsStr> { #[inline] fn from(s: &OsStr) -> Rc<OsStr> { diff --git a/src/libstd/path.rs b/src/libstd/path.rs index eb125a4737a..bed9efcb846 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -1454,7 +1454,7 @@ impl<'a> From<PathBuf> for Cow<'a, Path> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl From<PathBuf> for Arc<Path> { #[inline] fn from(s: PathBuf) -> Arc<Path> { @@ -1463,7 +1463,7 @@ impl From<PathBuf> for Arc<Path> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl<'a> From<&'a Path> for Arc<Path> { #[inline] fn from(s: &Path) -> Arc<Path> { @@ -1472,7 +1472,7 @@ impl<'a> From<&'a Path> for Arc<Path> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl From<PathBuf> for Rc<Path> { #[inline] fn from(s: PathBuf) -> Rc<Path> { @@ -1481,7 +1481,7 @@ impl From<PathBuf> for Rc<Path> { } } -#[stable(feature = "shared_from_slice2", since = "1.23.0")] +#[stable(feature = "shared_from_slice2", since = "1.24.0")] impl<'a> From<&'a Path> for Rc<Path> { #[inline] fn from(s: &Path) -> Rc<Path> { diff --git a/src/libstd/sync/mutex.rs b/src/libstd/sync/mutex.rs index 81f5594bc52..3b4904c98e8 100644 --- a/src/libstd/sync/mutex.rs +++ b/src/libstd/sync/mutex.rs @@ -382,7 +382,7 @@ unsafe impl<#[may_dangle] T: ?Sized> Drop for Mutex<T> { } } -#[stable(feature = "mutex_from", since = "1.22.0")] +#[stable(feature = "mutex_from", since = "1.24.0")] impl<T> From<T> for Mutex<T> { /// Creates a new mutex in an unlocked state ready for use. /// This is equivalent to [`Mutex::new`]. diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs index fd6cff6b69c..0f3f4e50f7e 100644 --- a/src/libstd/sync/rwlock.rs +++ b/src/libstd/sync/rwlock.rs @@ -457,7 +457,7 @@ impl<T: Default> Default for RwLock<T> { } } -#[stable(feature = "rw_lock_from", since = "1.22.0")] +#[stable(feature = "rw_lock_from", since = "1.24.0")] impl<T> From<T> for RwLock<T> { /// Creates a new instance of an `RwLock<T>` which is unlocked. /// This is equivalent to [`RwLock::new`]. |
