Merge pull request #1314 from teresy/shorthand-fields

refactor: use shorthand fields
This commit is contained in:
Alex Lyon
2019-02-07 00:41:00 -08:00
committed by GitHub
+1 -1
View File
@@ -93,7 +93,7 @@ fn tee(options: Options) -> Result<()> {
.map(|file| open(file, options.append))
.collect();
writers.push(Box::new(stdout()));
let output = &mut MultiWriter { writers: writers };
let output = &mut MultiWriter { writers };
let input = &mut NamedReader {
inner: Box::new(stdin()) as Box<Read>,
};