diff --git a/winapps/src/errors.rs b/winapps/src/errors.rs index 5665e8a..fa449db 100644 --- a/winapps/src/errors.rs +++ b/winapps/src/errors.rs @@ -91,8 +91,7 @@ impl IntoError for Option { } } -/// This macro unwraps either a `Result` or an `Option` and returns the value if it exists. -/// It returns a `Result<_, WinappsError>` which can be used to return the error. +/// This macro creates a `Result<_, WinappsError>` from either a `Result` or an `Option`. /// It also works for all other types that implement `IntoError`. /// Used internally by `winapps::unwrap_or_exit!` and `winapps::unwrap_or_panic!`. #[macro_export]