Fix invalid stability attribute features in standard library
This commit is contained in:
@@ -1140,10 +1140,10 @@ pub fn read_to_string<R: Read>(mut reader: R) -> Result<String> {
|
||||
#[repr(transparent)]
|
||||
pub struct IoSliceMut<'a>(sys::io::IoSliceMut<'a>);
|
||||
|
||||
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
|
||||
#[stable(feature = "iovec_send_sync", since = "1.44.0")]
|
||||
unsafe impl<'a> Send for IoSliceMut<'a> {}
|
||||
|
||||
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
|
||||
#[stable(feature = "iovec_send_sync", since = "1.44.0")]
|
||||
unsafe impl<'a> Sync for IoSliceMut<'a> {}
|
||||
|
||||
#[stable(feature = "iovec", since = "1.36.0")]
|
||||
@@ -1283,10 +1283,10 @@ impl<'a> DerefMut for IoSliceMut<'a> {
|
||||
#[repr(transparent)]
|
||||
pub struct IoSlice<'a>(sys::io::IoSlice<'a>);
|
||||
|
||||
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
|
||||
#[stable(feature = "iovec_send_sync", since = "1.44.0")]
|
||||
unsafe impl<'a> Send for IoSlice<'a> {}
|
||||
|
||||
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
|
||||
#[stable(feature = "iovec_send_sync", since = "1.44.0")]
|
||||
unsafe impl<'a> Sync for IoSlice<'a> {}
|
||||
|
||||
#[stable(feature = "iovec", since = "1.36.0")]
|
||||
|
||||
Reference in New Issue
Block a user