From a90a5cb74273eba36357a25096e4bd7840d19cb8 Mon Sep 17 00:00:00 2001 From: Ryan Geary Date: Tue, 17 Mar 2020 13:44:14 -0400 Subject: Cargo fmt --- src/opt.rs | 1 - src/reader.rs | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/opt.rs b/src/opt.rs index 3548127..9704d4f 100644 --- a/src/opt.rs +++ b/src/opt.rs @@ -29,4 +29,3 @@ pub struct Opt { #[structopt(required = true, min_values = 1, parse(try_from_str = Config::parse_choice))] pub choice: Vec, } - 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 { impl BufReader { pub fn new(f: R) -> Self { - Self { reader: io::BufReader::new(f) } + Self { + reader: io::BufReader::new(f), + } } pub fn read_line<'buf>( -- cgit v1.2.3