Skip to content

Commit 73e7a72

Browse files
committed
Add issue number to read_exact unstable declarations
1 parent ff81920 commit 73e7a72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/io/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pub enum ErrorKind {
153153
/// This typically means that an operation could only succeed if it read a
154154
/// particular number of bytes but only a smaller number of bytes could be
155155
/// read.
156-
#[unstable(feature = "read_exact", reason = "recently added")]
156+
#[unstable(feature = "read_exact", reason = "recently added", issue = "27585")]
157157
UnexpectedEOF,
158158

159159
/// Any I/O error not part of this list.

src/libstd/io/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ pub trait Read {
363363
/// # Ok(())
364364
/// # }
365365
/// ```
366-
#[unstable(feature = "read_exact", reason = "recently added")]
366+
#[unstable(feature = "read_exact", reason = "recently added", issue = "27585")]
367367
fn read_exact(&mut self, mut buf: &mut [u8]) -> Result<()> {
368368
while !buf.is_empty() {
369369
match self.read(buf) {

0 commit comments

Comments
 (0)