pub trait ResultIgnore<T, E> {
// Required method
fn I(self);
}
Expand description
Ignore a Result
.
This is nice because the common idiom of let _ = ...
is untyped
and can accidentally be applied to non-Result
types like Future
s.
pub trait ResultIgnore<T, E> {
// Required method
fn I(self);
}
Ignore a Result
.
This is nice because the common idiom of let _ = ...
is untyped
and can accidentally be applied to non-Result
types like Future
s.