Closed dtolnay closed 8 months ago
We have format_items: impl Iterator<Item = Result<Item<'_>, Error>> and items: Box<[Item<'_>]>.
format_items: impl Iterator<Item = Result<Item<'_>, Error>>
items: Box<[Item<'_>]>
The Into::into on the deleted line is resolving to impl<T> From<T> for T with T=Item which is not load-bearing.
Into::into
impl<T> From<T> for T
Item
The into on the line after this is impl From<Box<[Item<'_>]>> for OwnedFormatItem.
into
impl From<Box<[Item<'_>]>> for OwnedFormatItem
Not sure how I missed this when it was committed. Presumably I used it for debugging at some point. In any situation, thanks!
We have
format_items: impl Iterator<Item = Result<Item<'_>, Error>>
anditems: Box<[Item<'_>]>
.The
Into::into
on the deleted line is resolving toimpl<T> From<T> for T
with T=Item
which is not load-bearing.The
into
on the line after this isimpl From<Box<[Item<'_>]>> for OwnedFormatItem
.