Method lrs::result::Result::ignore_ok

Replaces the success value (if any) by ().

Syntax

impl<T, E> Result<T, E> {
    fn ignore_ok(self) -> Result<(), E>
}