Fix invalid stability attribute features in standard library
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
//! match those defined by C, so that code that interacts with C will
|
//! match those defined by C, so that code that interacts with C will
|
||||||
//! refer to the correct types.
|
//! refer to the correct types.
|
||||||
|
|
||||||
#![stable(feature = "", since = "1.30.0")]
|
#![stable(feature = "core_ffi", since = "1.30.0")]
|
||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
|
|
||||||
use crate::fmt;
|
use crate::fmt;
|
||||||
|
|||||||
@@ -1140,10 +1140,10 @@ pub fn read_to_string<R: Read>(mut reader: R) -> Result<String> {
|
|||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
pub struct IoSliceMut<'a>(sys::io::IoSliceMut<'a>);
|
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> {}
|
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> {}
|
unsafe impl<'a> Sync for IoSliceMut<'a> {}
|
||||||
|
|
||||||
#[stable(feature = "iovec", since = "1.36.0")]
|
#[stable(feature = "iovec", since = "1.36.0")]
|
||||||
@@ -1283,10 +1283,10 @@ impl<'a> DerefMut for IoSliceMut<'a> {
|
|||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
pub struct IoSlice<'a>(sys::io::IoSlice<'a>);
|
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> {}
|
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> {}
|
unsafe impl<'a> Sync for IoSlice<'a> {}
|
||||||
|
|
||||||
#[stable(feature = "iovec", since = "1.36.0")]
|
#[stable(feature = "iovec", since = "1.36.0")]
|
||||||
|
|||||||
Reference in New Issue
Block a user