From: Steven Fackler Date: Thu, 14 Feb 2019 04:10:44 +0000 (-0800) Subject: Add a tracking issue X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=5ca3b00ce05057c753f41f5b691df13efef95233;p=rust.git Add a tracking issue --- diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 7f9c5a0316c..3d3759c2d6f 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -530,7 +530,7 @@ pub trait Read { /// /// The default implementation simply passes the first nonempty buffer to /// `read`. - #[unstable(feature = "iovec", issue = "0")] + #[unstable(feature = "iovec", issue = "58452")] fn read_vectored(&mut self, bufs: &mut [IoVecMut<'_>]) -> Result { match bufs.iter_mut().find(|b| !b.is_empty()) { Some(buf) => self.read(buf), @@ -890,11 +890,11 @@ fn take(self, limit: u64) -> Take where Self: Sized { /// It is semantically a wrapper around an `&mut [u8]`, but is guaranteed to be /// ABI compatible with the `iovec` type on Unix platforms and `WSABUF` on /// Windows. -#[unstable(feature = "iovec", issue = "0")] +#[unstable(feature = "iovec", issue = "58452")] #[repr(transparent)] pub struct IoVecMut<'a>(sys::io::IoVecMut<'a>); -#[unstable(feature = "iovec", issue = "0")] +#[unstable(feature = "iovec", issue = "58452")] impl<'a> fmt::Debug for IoVecMut<'a> { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { fmt::Debug::fmt(self.0.as_slice(), fmt) @@ -907,14 +907,14 @@ impl<'a> IoVecMut<'a> { /// # Panics /// /// Panics on Windows if the slice is larger than 4GB. - #[unstable(feature = "iovec", issue = "0")] + #[unstable(feature = "iovec", issue = "58452")] #[inline] pub fn new(buf: &'a mut [u8]) -> IoVecMut<'a> { IoVecMut(sys::io::IoVecMut::new(buf)) } } -#[unstable(feature = "iovec", issue = "0")] +#[unstable(feature = "iovec", issue = "58452")] impl<'a> Deref for IoVecMut<'a> { type Target = [u8]; @@ -924,7 +924,7 @@ fn deref(&self) -> &[u8] { } } -#[unstable(feature = "iovec", issue = "0")] +#[unstable(feature = "iovec", issue = "58452")] impl<'a> DerefMut for IoVecMut<'a> { #[inline] fn deref_mut(&mut self) -> &mut [u8] { @@ -937,11 +937,11 @@ fn deref_mut(&mut self) -> &mut [u8] { /// It is semantically a wrapper around an `&[u8]`, but is guaranteed to be /// ABI compatible with the `iovec` type on Unix platforms and `WSABUF` on /// Windows. -#[unstable(feature = "iovec", issue = "0")] +#[unstable(feature = "iovec", issue = "58452")] #[repr(transparent)] pub struct IoVec<'a>(sys::io::IoVec<'a>); -#[unstable(feature = "iovec", issue = "0")] +#[unstable(feature = "iovec", issue = "58452")] impl<'a> fmt::Debug for IoVec<'a> { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { fmt::Debug::fmt(self.0.as_slice(), fmt) @@ -954,14 +954,14 @@ impl<'a> IoVec<'a> { /// # Panics /// /// Panics on Windows if the slice is larger than 4GB. - #[unstable(feature = "iovec", issue = "0")] + #[unstable(feature = "iovec", issue = "58452")] #[inline] pub fn new(buf: &'a [u8]) -> IoVec<'a> { IoVec(sys::io::IoVec::new(buf)) } } -#[unstable(feature = "iovec", issue = "0")] +#[unstable(feature = "iovec", issue = "58452")] impl<'a> Deref for IoVec<'a> { type Target = [u8]; @@ -1109,7 +1109,7 @@ pub trait Write { /// /// The default implementation simply passes the first nonempty buffer to /// `write`. - #[unstable(feature = "iovec", issue = "0")] + #[unstable(feature = "iovec", issue = "58452")] fn write_vectored(&mut self, bufs: &[IoVec<'_>]) -> Result { match bufs.iter().find(|b| !b.is_empty()) { Some(buf) => self.write(buf),