mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-06 15:17:19 +02:00
fix: docstring for into_error
didn't make any sense
This commit is contained in:
parent
24b69bf9c6
commit
1ea9794e81
@ -91,8 +91,7 @@ impl<T> IntoError<T> for Option<T> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This macro unwraps either a `Result` or an `Option` and returns the value if it exists.
|
/// This macro creates a `Result<_, WinappsError>` from either a `Result` or an `Option`.
|
||||||
/// It returns a `Result<_, WinappsError>` which can be used to return the error.
|
|
||||||
/// It also works for all other types that implement `IntoError`.
|
/// It also works for all other types that implement `IntoError`.
|
||||||
/// Used internally by `winapps::unwrap_or_exit!` and `winapps::unwrap_or_panic!`.
|
/// Used internally by `winapps::unwrap_or_exit!` and `winapps::unwrap_or_panic!`.
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user