Add dyn for SizeHint cast
This commit is contained in:
parent
1190321b76
commit
421b40cd6a
@ -2475,7 +2475,7 @@ fn next(&mut self) -> Option<Result<u8>> {
|
||||
}
|
||||
|
||||
default fn size_hint(&self) -> (usize, Option<usize>) {
|
||||
(&self.inner as &SizeHint).size_hint()
|
||||
(&self.inner as &dyn SizeHint).size_hint()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user