coretest: fix fallout
This commit is contained in:
parent
4f4ae538ae
commit
91eeb641cd
1 changed files with 3 additions and 1 deletions
|
|
@ -561,7 +561,9 @@ fn test_rposition_panic() {
|
|||
|
||||
|
||||
#[cfg(test)]
|
||||
fn check_randacc_iter<A: PartialEq, T: Clone + RandomAccessIterator<A>>(a: T, len: uint)
|
||||
fn check_randacc_iter<A, T>(a: T, len: uint) where
|
||||
A: PartialEq,
|
||||
T: Clone + RandomAccessIterator + Iterator<Item=A>,
|
||||
{
|
||||
let mut b = a.clone();
|
||||
assert_eq!(len, b.indexable());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue