From 047051093d24b35fa7d75804599440b044497e2b Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Mon, 1 Jun 2026 20:47:51 +0900 Subject: [PATCH] pipes.rs: fix typo --- src/uucore/src/lib/features/pipes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uucore/src/lib/features/pipes.rs b/src/uucore/src/lib/features/pipes.rs index f86988617..076e4fbdd 100644 --- a/src/uucore/src/lib/features/pipes.rs +++ b/src/uucore/src/lib/features/pipes.rs @@ -124,7 +124,7 @@ pub fn splice_unbounded_auto(source: &impl AsFd, dest: &mut impl AsFd) -> PipeRe // pre-generate page caches for splice let is_file_in = rustix::fs::fadvise(source, 0, None, rustix::fs::Advice::Sequential).is_ok(); if (is_file_in && !is_pipe_out) || splice_unbounded(source, dest).is_err() { - // input or output is not pipe + // both of in/output are not pipe return splice_unbounded_broker(source, dest); } Ok(Ok(()))