mirror of
https://github.com/theryangeary/choose
synced 2024-11-10 05:24:13 +00:00
Cargo fmt
This commit is contained in:
parent
41e060680e
commit
a90a5cb742
2 changed files with 3 additions and 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>,
|
||||
}
|
||||
|
||||
|
|
|
@ -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>(
|
||||
|
|
Loading…
Reference in a new issue