Is there a rationale to which std/core traits Infallible
implements? I would like to use it in a context that requires T: AsRef<U>
, so I'd like to add the following to the stdlib:
impl<T> AsRef<T> for Infallible { ... }
Is there a rationale to which std/core traits Infallible
implements? I would like to use it in a context that requires T: AsRef<U>
, so I'd like to add the following to the stdlib:
impl<T> AsRef<T> for Infallible { ... }
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.