2 ms·
Is the former different from a hypothetical Result::Err type (I don't know if you'd spell that Result::Err<T> or Result::<T>::Err)?
by bonzini 2y ago
Is the former different from a hypothetical Result::Err type (I don't know if you'd spell that Result::Err<T> or Result::<T>::Err)?
- JoshTriplett 2y agoSame concept, but generalized to any type, not just enums.
- n_plus_1_acc 2y agoDifferent solutions to the same problem. Pattern types are more general than enum variant types.