Skip to content

Commit

Permalink
Doc: Need spaces here.
Browse files Browse the repository at this point in the history
  • Loading branch information
Freaky committed Apr 20, 2018
1 parent f6ad6ce commit 173b272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ impl<R: io::Read> LineReader<R> {
/// truncated to the buffer size due to length.
///
/// ```no_run
/// #use std::fs::file;
/// #let reader = LineReader::new(File::new("myfile.txt")?);
/// # use std::fs::file;
/// # let reader = LineReader::new(File::new("myfile.txt")?);
/// while let Some(line) = reader.next_line() {
/// let line = line?; // unwrap io::Result to &[u8]
/// }
Expand Down

0 comments on commit 173b272

Please sign in to comment.