1
Fork 0

Relax implicit R: Sized bound on BufReader<R>

This commit is contained in:
Maybe Waffle 2023-05-01 17:17:05 +00:00
parent b7d8c88b64
commit e77b14e2ac
3 changed files with 17 additions and 14 deletions

View file

@ -2753,7 +2753,7 @@ trait SizeHint {
}
}
impl<T> SizeHint for T {
impl<T: ?Sized> SizeHint for T {
#[inline]
default fn lower_bound(&self) -> usize {
0