type Result<T> = Result<T, Error>;
The Result
type used in ApInt
.
Converts an Error
into a Result<T, Error>
.
This might be useful to prevent some parentheses spams
because it replaces Err(my_error)
with my_error.into()
.
On the other hand it might be an abuse of the trait ...