pub fn buf_read(&mut self) -> Box<dyn BufRead + '_> {
        match self {
            Input::StdIn(stream) => Box::new(stream.lock()),
            Input::File(file) => Box::new(BufReader::new(file)),
        }
    }
/// Either locks stdin or wraps the file in a `BufReader`.
Either locks stdin or wraps the file in a `BufReader`.
Either locks stdin or wraps the file in a ` BufReader ` .
pub fn buf_read(&mut self) -> Box<dyn BufRead + '_> {
        match self {
            Input::StdIn(stream) => Box::new(stream.lock()),
            Input::File(file) => Box::new(BufReader::new(file)),
        }
    }
pub fn buf_read ( & mut self ) -> Box < dyn BufRead + ' _ > { match self { Input :: StdIn ( stream ) => Box :: new ( stream . lock ( ) ) , Input :: File ( file ) => Box :: new ( BufReader :: new ( file ) ) , } }
Either locks stdin or wraps the file in a `BufReader`.
Either locks stdin or wraps the file in a ` BufReader ` .
&mut self