diff options
Diffstat (limited to 'src/reader.rs')
-rw-r--r-- | src/reader.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/reader.rs b/src/reader.rs index b90097c..06349b7 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -6,7 +6,9 @@ pub struct BufReader<R> { impl<R: Read> BufReader<R> { pub fn new(f: R) -> Self { - Self { reader: io::BufReader::new(f) } + Self { + reader: io::BufReader::new(f), + } } pub fn read_line<'buf>( |