Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/uu/tee/src/tee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<R: Read>(&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:
Expand Down
Loading