tail: remove ?Sized

This commit is contained in:
oech3
2026-04-27 10:21:33 +02:00
committed by Daniel Hofstetter
parent 9b87e00829
commit a1599dfad4
+1 -1
View File
@@ -578,7 +578,7 @@ fn unbounded_tail<T: Read>(reader: &mut BufReader<T>, 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<u64>,