Skip to content

Commit d328939

Browse files
committed
Fix failing test
1 parent ada9b05 commit d328939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,9 +1546,9 @@ mod test {
15461546
#[test]
15471547
fn flat_map() {
15481548
let items = [[0, 1, 2], [3, 4, 5]];
1549-
let it = convert(items.iter()).flat_map(|i| convert(i.iter()));
1549+
let it = convert(items.iter()).flat_map(|i| convert(i.iter().cloned()));
15501550

1551-
test(it, &[&0, &1, &2, &3, &4, &5]);
1551+
test(it, &[0, 1, 2, 3, 4, 5]);
15521552
}
15531553

15541554
#[test]

0 commit comments

Comments
 (0)