1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-31 04:57:45 +00:00

sort: fix build

This commit is contained in:
Michael Gehring 2015-01-24 09:50:33 +01:00
parent 84bc38ee84
commit 78408fda78

View file

@ -146,7 +146,7 @@ fn frac_compare(a: &String, b: &String) -> Ordering {
}
#[inline(always)]
fn print_sorted<S, T: Iterator<Item=S>>(mut iter: T) where S: std::fmt::String {
fn print_sorted<S, T: Iterator<Item=S>>(mut iter: T) where S: std::fmt::Display {
for line in iter {
print!("{}", line);
}