Skip to content

Commit

Permalink
Add issue number to read_exact unstable declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarb committed Aug 28, 2015
1 parent ff81920 commit 73e7a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libstd/io/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 73e7a72

Please sign in to comment.