mirror of
https://github.com/winapps-org/winapps.git
synced 2026-12-05 05:45:48 -05:00
fix: docstring for into_error didn't make any sense
This commit is contained in:
@@ -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.
|
||||
/// 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]
|
||||
|
||||
Reference in New Issue
Block a user