From 73e7a7269553f661501d54c1fe8c57aa12b126fa Mon Sep 17 00:00:00 2001 From: Cesar Eduardo Barros Date: Fri, 28 Aug 2015 06:33:50 -0300 Subject: [PATCH] Add issue number to read_exact unstable declarations --- src/libstd/io/error.rs | 2 +- src/libstd/io/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libstd/io/error.rs b/src/libstd/io/error.rs index d55721db12617..fa1ebcde58697 100644 --- a/src/libstd/io/error.rs +++ b/src/libstd/io/error.rs @@ -153,7 +153,7 @@ pub enum ErrorKind { /// This typically means that an operation could only succeed if it read a /// particular number of bytes but only a smaller number of bytes could be /// read. - #[unstable(feature = "read_exact", reason = "recently added")] + #[unstable(feature = "read_exact", reason = "recently added", issue = "27585")] UnexpectedEOF, /// Any I/O error not part of this list. diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index d2b8b40ca5cc5..d3865df4362ca 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -363,7 +363,7 @@ pub trait Read { /// # Ok(()) /// # } /// ``` - #[unstable(feature = "read_exact", reason = "recently added")] + #[unstable(feature = "read_exact", reason = "recently added", issue = "27585")] fn read_exact(&mut self, mut buf: &mut [u8]) -> Result<()> { while !buf.is_empty() { match self.read(buf) {