Skip to content

Commit b22f6a9

Browse files
bors[bot]phimuemue
andauthored
Merge #414
414: Fix "missing dyn" warning r=jswrenn a=phimuemue This should fix the warning about a deprecated missing `dyn`. Co-authored-by: philipp <descpl@yahoo.de>
2 parents e7ebc13 + 030508a commit b22f6a9

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)