diff options
| author | Botahamec <botahamec@outlook.com> | 2022-10-23 16:42:44 -0400 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2022-10-23 16:42:44 -0400 |
| commit | fee373821f0e38da00c405f55d68242c64689629 (patch) | |
| tree | 2e2037287971097df75e80fcbc7a026df40a5c34 /src/result.rs | |
| parent | 917b4c45fd76319a48c25b00187040f3d189bb35 (diff) | |
Better docs
Diffstat (limited to 'src/result.rs')
| -rw-r--r-- | src/result.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/result.rs b/src/result.rs index dfcb7ef..987fc3a 100644 --- a/src/result.rs +++ b/src/result.rs @@ -15,7 +15,7 @@ use sealed::Sealed; /// [`Result::unexpect`]: `ResultErrorExt::unexpect` #[cfg(feature = "std")] pub trait ResultErrorExt<T>: Sealed { - /// Converts `Result<T, E>` to `Result<T, RawUnexpected>`. + /// Converts [`Result<T, E>`] to [`Result<T, RawUnexpected>`]. /// /// # Examples /// @@ -69,7 +69,7 @@ impl<T, E: Error + Send + Sync + 'static> ResultErrorExt<T> for Result<T, E> { /// /// [`Result::unexpect_msg`]: `ResultMsgExt::unexpect_msg` pub trait ResultMsgExt<T>: Sealed { - /// Converts `Result<T, E>` to `Result<T, RawUnExpected>`. + /// Converts [`Result<T, E>`] to [`Result<T, RawUnexpected>`]. /// /// This is provided for compatibility with `no_std`. If your type /// implements [`Error`], then you should prefer that instead. |
