Skip to content

Commit cfff4b7

Browse files
committed
Use bounds in associated type position
1 parent c7178d7 commit cfff4b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/quick.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,7 @@ quickcheck_limit! {
829829

830830
fn assert_sorted_by_key<I, Key, X>(iterable: I, key: Key)
831831
where
832-
I: IntoIterator,
833-
I::Item: Ord + Clone + Debug,
832+
I: IntoIterator<Item: Ord + Clone + Debug>,
834833
Key: Fn(&I::Item) -> X,
835834
X: Ord,
836835
{

0 commit comments

Comments
 (0)