Skip to content

Commit

Permalink
Rollup merge of rust-lang#58703 - shepmaster:read_line_return, r=centril
Browse files Browse the repository at this point in the history
Fix copy-pasted typo for read_string return value
  • Loading branch information
Centril committed Feb 27, 2019
2 parents 6f881b3 + f1b88ab commit b8919af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ pub trait BufRead: Read {
///
/// If successful, this function will return the total number of bytes read.
///
/// An empty buffer returned indicates that the stream has reached EOF.
/// If this function returns `Ok(0)`, the stream has reached EOF.
///
/// # Errors
///
Expand Down

0 comments on commit b8919af

Please sign in to comment.