diff options
author | Ryan Geary <rtgnj42@gmail.com> | 2020-03-17 13:44:14 -0400 |
---|---|---|
committer | Ryan Geary <rtgnj42@gmail.com> | 2020-03-17 13:44:14 -0400 |
commit | a90a5cb74273eba36357a25096e4bd7840d19cb8 (patch) | |
tree | 82062d0bdeeb5caabda7d875b5d3638c03afc964 | |
parent | 41e060680ea153fa8f245efc53f870bbb80faf89 (diff) |
Cargo fmt
-rw-r--r-- | src/opt.rs | 1 | ||||
-rw-r--r-- | src/reader.rs | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -29,4 +29,3 @@ pub struct Opt { #[structopt(required = true, min_values = 1, parse(try_from_str = Config::parse_choice))] pub choice: Vec<Choice>, } - 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>( |