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,