diff --git a/src/uu/tee/src/tee.rs b/src/uu/tee/src/tee.rs index 8f96f4cc73d..ec5709a074d 100644 --- a/src/uu/tee/src/tee.rs +++ b/src/uu/tee/src/tee.rs @@ -153,7 +153,7 @@ struct MultiWriter { impl MultiWriter { /// Copies all bytes from the input buffer to the output buffer /// without buffering which is POSIX requirement. - pub fn copy_unbuffered(&mut self, mut input: R) -> Result<()> { + pub fn copy_unbuffered(&mut self, mut input: NamedReader) -> Result<()> { // todo: support splice() and tee() fast-path at here // The implementation for this function is adopted from the generic buffer copy implementation from // the standard library: