mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #1314 from teresy/shorthand-fields
refactor: use shorthand fields
This commit is contained in:
commit
677953b2b6
1 changed files with 1 additions and 1 deletions
|
@ -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>,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue