Skip to content

Commit 91eeb64

Browse files
author
Jorge Aparicio
committed
coretest: fix fallout
1 parent 4f4ae53 commit 91eeb64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libcoretest/iter.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,9 @@ fn test_rposition_panic() {
561561

562562

563563
#[cfg(test)]
564-
fn check_randacc_iter<A: PartialEq, T: Clone + RandomAccessIterator<A>>(a: T, len: uint)
564+
fn check_randacc_iter<A, T>(a: T, len: uint) where
565+
A: PartialEq,
566+
T: Clone + RandomAccessIterator + Iterator<Item=A>,
565567
{
566568
let mut b = a.clone();
567569
assert_eq!(len, b.indexable());

0 commit comments

Comments
 (0)