From a1599dfad40be97e471f9644dcc41b5c5a41265a Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Sun, 26 Apr 2026 21:28:21 +0900 Subject: [PATCH] tail: remove ?Sized --- src/uu/tail/src/tail.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/tail/src/tail.rs b/src/uu/tail/src/tail.rs index 80250776f..c38a146ba 100644 --- a/src/uu/tail/src/tail.rs +++ b/src/uu/tail/src/tail.rs @@ -578,7 +578,7 @@ fn unbounded_tail(reader: &mut BufReader, settings: &Settings) -> UR // Print the target section of the file fn print_target_section< #[cfg(any(target_os = "linux", target_os = "android"))] R: Read + rustix::fd::AsFd, - #[cfg(not(any(target_os = "linux", target_os = "android")))] R: Read + ?Sized, + #[cfg(not(any(target_os = "linux", target_os = "android")))] R: Read, >( file: &mut R, limit: Option,