summaryrefslogtreecommitdiff
path: root/src/exun.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2022-10-23 16:42:44 -0400
committerBotahamec <botahamec@outlook.com>2022-10-23 16:42:44 -0400
commitfee373821f0e38da00c405f55d68242c64689629 (patch)
tree2e2037287971097df75e80fcbc7a026df40a5c34 /src/exun.rs
parent917b4c45fd76319a48c25b00187040f3d189bb35 (diff)
Better docs
Diffstat (limited to 'src/exun.rs')
-rw-r--r--src/exun.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exun.rs b/src/exun.rs
index 7f6376e..138ff4f 100644
--- a/src/exun.rs
+++ b/src/exun.rs
@@ -71,7 +71,7 @@ impl<E> From<RawUnexpected> for Exun<E, UnexpectedError> {
}
impl<E, U> Exun<E, U> {
- /// Converts from `Expect<E, U>` to [`Option<E>`].
+ /// Converts from `Exun<E, U>` to [`Option<E>`].
///
/// Converts `self` into an [`Option<E>`], consuming `self`, and discarding
/// the unexpected value, if any.
@@ -95,7 +95,7 @@ impl<E, U> Exun<E, U> {
}
}
- /// Converts from `Expect<E, U>` to [`Option<U>`].
+ /// Converts from `Exun<E, U>` to [`Option<U>`].
///
/// Converts `self` into an [`Option<U>`], consuming `self`, and discarding
/// the expected value, if any.
@@ -121,7 +121,7 @@ impl<E, U> Exun<E, U> {
}
}
- /// Converts from `&mut Expect<E, U>` to `Expect<&mut E, &mut U>`.
+ /// Converts from `&mut Exun<E, U>` to `Exun<&mut E, &mut U>`.
///
/// # Examples
///
@@ -152,7 +152,7 @@ impl<E, U> Exun<E, U> {
}
}
- /// Maps a `Expect<E, U>` to `Expect<T, U>` by applying a function to a
+ /// Maps a `Exun<E, U>` to `Exun<T, U>` by applying a function to a
/// contained [`Expected`] value, leaving an [`Unexpected`] value
/// untouched.
///
@@ -178,7 +178,7 @@ impl<E, U> Exun<E, U> {
}
}
- /// Maps a `Expect<E, U>` to `Expect<E, T>` by applying a function to a
+ /// Maps a `Exun<E, U>` to `Exun<E, T>` by applying a function to a
/// contained [`Unexpected`] value, leaving an [`Expected`] value
/// untouched.
///