Skip to content

Commit

Permalink
Rollup merge of #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 authored Feb 25, 2019
2 parents 8d210de + f1b88ab commit e98feb6
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 @@ -1458,7 +1458,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 e98feb6

Please sign in to comment.