You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible for methods in traits to have a return value specified as impl Trait. This would allow traits to return values without having to specify the exact type or wrap in indirection.
This would obviously not be object-safe as the size of the return value would not be known.
The text was updated successfully, but these errors were encountered:
It should be possible for methods in traits to have a return value specified as
impl Trait
. This would allow traits to return values without having to specify the exact type or wrap in indirection.This would obviously not be object-safe as the size of the return value would not be known.
The text was updated successfully, but these errors were encountered: