Description
For example Iterator::map
should have a Self: Sized
bound, but we're a little too aggressive about pruning out the Sized
bounds.
For comparison core::iter::Iterator::map
does indeed have the bound.
For example Iterator::map
should have a Self: Sized
bound, but we're a little too aggressive about pruning out the Sized
bounds.
For comparison core::iter::Iterator::map
does indeed have the bound.
Activity
apasel422 commentedon Oct 24, 2015
This also applies to
Sized
bounds on traits.crumblingstatue commentedon Oct 22, 2016
This prompted a question on IRC about whether
Clone
requiresSized
, because theSized
bound is not visible in the libstd documentation. It is visible in the libcore docs though.where T: Sized
#4947727 remaining items