diff options
| author | Botahamec <botahamec@outlook.com> | 2023-08-09 09:46:50 -0400 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2023-08-09 09:46:50 -0400 |
| commit | c792064c9a44ae414fb3f1a5014baa8256da65a3 (patch) | |
| tree | a5acfef4a40c0ff45dc6b7096e27f7343a3b549c /src/exun.rs | |
| parent | 4e25a60d0f18aafab53a82a79e0ac10a0de2d6c4 (diff) | |
Add documentation
Diffstat (limited to 'src/exun.rs')
| -rw-r--r-- | src/exun.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exun.rs b/src/exun.rs index 53e877b..f6bf24e 100644 --- a/src/exun.rs +++ b/src/exun.rs @@ -235,7 +235,7 @@ impl<E, U> Exun<E, U> { /// /// ```should_panic /// let path = std::env::var("IMPORTANT_PATH") - /// .expect("env variable `IMPORTANT_PATH` should be set by script.sh") + /// .expect("env variable `IMPORTANT_PATH` should be set by test.sh"); /// ``` /// /// **Hint:** If you're having trouble remembering how to phrase expect @@ -311,7 +311,7 @@ impl<E, U> Exun<E, U> { /// use exun::*; /// /// let x: Exun<u32, &str> = Expected(2); - /// x.unwrap_unexpected(); // panics wirh `2` + /// x.unwrap_unexpected(); // panics with `2` /// ``` /// /// ``` |
