Skip to content

Commit

Permalink
Merge #414
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bors[bot] and phimuemue committed Feb 29, 2020
2 parents e7ebc13 + 030508a commit b22f6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/specializations.rs
Expand Up @@ -31,7 +31,7 @@ where
V: Eq + Debug,
IterItem: 'a,
Iter: Iterator<Item = IterItem> + Clone + 'a,
F: Fn(Box<Iterator<Item = IterItem> + 'a>) -> V,
F: Fn(Box<dyn Iterator<Item = IterItem> + 'a>) -> V,
{
assert_eq!(
mapper(Box::new(Unspecialized(iterator.clone()))),
Expand Down

0 comments on commit b22f6a9

Please sign in to comment.