pub fn input_paths(&self) -> Box<dyn Iterator<Item = Path> + Send> {
        if self.stdin {
            Box::new(
                BufReader::new(stdin())
                    .lines()
                    .map(|s| Path::from(s.unwrap().as_str())),
            )
        } else {
            Box::new(
                self.paths
                    .iter()
                    .map(Path::from)
                    .collect::<Vec<_>>()
                    .into_iter(),
            )
        }
    }
/// Returns an iterator over the input paths.
/// Input paths may be provided as arguments or from standard input.
Returns an iterator over the input paths.
Input paths may be provided as arguments or from standard input.
Returns an iterator over the input paths . Input paths may be provided as arguments or from standard input .
pub fn input_paths(&self) -> Box<dyn Iterator<Item = Path> + Send> {
        if self.stdin {
            Box::new(
                BufReader::new(stdin())
                    .lines()
                    .map(|s| Path::from(s.unwrap().as_str())),
            )
        } else {
            Box::new(
                self.paths
                    .iter()
                    .map(Path::from)
                    .collect::<Vec<_>>()
                    .into_iter(),
            )
        }
    }
pub fn input_paths ( & self ) -> Box < dyn Iterator < Item = Path > + Send > { if self . stdin { Box :: new ( BufReader :: new ( stdin ( ) ) . lines ( ) . map ( | s | Path :: from ( s . unwrap ( ) . as_str ( ) ) ) , ) } else { Box :: new ( self . paths . iter ( ) . map ( Path :: from ) . collect :: < Vec < _ > > ( ) . into_iter ( ) , ) } }
Returns an iterator over the input paths.
Returns an iterator over the input paths .
&self
&self