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

Merge pull request #505 from ebfe/fix-build

sort: fix build
This commit is contained in:
Heather 2015-01-24 18:40:06 +03:00
commit c4365b75c6

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);
}