Skip to content

Commit

Permalink
Fix copy-pasted typo for read_string return value
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Feb 25, 2019
1 parent e17c48e commit f1b88ab
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 f1b88ab

Please sign in to comment.