Skip to content

Commit 030508a

Browse files
committed
Fix "missing dyn" warning
1 parent e7ebc13 commit 030508a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/specializations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ where
3131
V: Eq + Debug,
3232
IterItem: 'a,
3333
Iter: Iterator<Item = IterItem> + Clone + 'a,
34-
F: Fn(Box<Iterator<Item = IterItem> + 'a>) -> V,
34+
F: Fn(Box<dyn Iterator<Item = IterItem> + 'a>) -> V,
3535
{
3636
assert_eq!(
3737
mapper(Box::new(Unspecialized(iterator.clone()))),

0 commit comments

Comments
 (0)