diff --git a/src/sort/sort.rs b/src/sort/sort.rs index 5e5aeac9d..2e46bcd2d 100644 --- a/src/sort/sort.rs +++ b/src/sort/sort.rs @@ -146,7 +146,7 @@ fn frac_compare(a: &String, b: &String) -> Ordering { } #[inline(always)] -fn print_sorted>(mut iter: T) where S: std::fmt::String { +fn print_sorted>(mut iter: T) where S: std::fmt::Display { for line in iter { print!("{}", line); }