Skip to content

Commit e6452a0

Browse files
reorganised attrs
1 parent 1a65532 commit e6452a0

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

library/alloc/src/ffi/c_str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ impl From<&CStr> for Rc<CStr> {
910910
}
911911

912912
#[cfg(not(no_global_oom_handling))]
913-
#[stable(feature = "rust1", since = "1.0.0")]
913+
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
914914
impl Default for Arc<CStr> {
915915
/// Creates an empty CStr inside an Arc
916916
#[inline]
@@ -921,7 +921,7 @@ impl Default for Arc<CStr> {
921921
}
922922

923923
#[cfg(not(no_global_oom_handling))]
924-
#[stable(feature = "rust1", since = "1.0.0")]
924+
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
925925
impl Default for Rc<CStr> {
926926
/// Creates an empty CStr inside an Rc
927927
#[inline]

library/alloc/src/rc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,7 @@ impl<T: Default> Default for Rc<T> {
22272227
}
22282228

22292229
#[cfg(not(no_global_oom_handling))]
2230-
#[stable(feature = "rust1", since = "1.0.0")]
2230+
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
22312231
impl Default for Rc<str> {
22322232
/// Creates an empty str inside an Rc
22332233
#[inline]
@@ -2237,7 +2237,7 @@ impl Default for Rc<str> {
22372237
}
22382238

22392239
#[cfg(not(no_global_oom_handling))]
2240-
#[stable(feature = "rust1", since = "1.0.0")]
2240+
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
22412241
impl<T> Default for Rc<[T]> {
22422242
/// Creates an empty [T] inside an Rc
22432243
#[inline]

library/alloc/src/sync.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3299,7 +3299,7 @@ impl<T: Default> Default for Arc<T> {
32993299
}
33003300

33013301
#[cfg(not(no_global_oom_handling))]
3302-
#[stable(feature = "rust1", since = "1.0.0")]
3302+
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
33033303
impl Default for Arc<str> {
33043304
/// Creates an empty str inside an Arc
33053305
#[inline]
@@ -3309,7 +3309,7 @@ impl Default for Arc<str> {
33093309
}
33103310

33113311
#[cfg(not(no_global_oom_handling))]
3312-
#[stable(feature = "rust1", since = "1.0.0")]
3312+
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
33133313
impl<T> Default for Arc<[T]> {
33143314
/// Creates an empty [T] inside an Arc
33153315
#[inline]

library/std/src/ffi/os_str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ impl Default for &OsStr {
13521352
}
13531353
}
13541354

1355-
#[stable(feature = "shared_from_slice2", since = "1.24.0")]
1355+
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
13561356
impl Default for Arc<OsStr> {
13571357
/// Creates an empty OsStr inside an Arc
13581358
#[inline]
@@ -1362,7 +1362,7 @@ impl Default for Arc<OsStr> {
13621362
}
13631363
}
13641364

1365-
#[stable(feature = "shared_from_slice2", since = "1.24.0")]
1365+
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
13661366
impl Default for Rc<OsStr> {
13671367
/// Creates an empty OsStr inside an Rc
13681368
#[inline]

0 commit comments

Comments
 (0)