From c792064c9a44ae414fb3f1a5014baa8256da65a3 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Wed, 9 Aug 2023 09:46:50 -0400 Subject: Add documentation --- src/exun.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exun.rs') 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 Exun { /// /// ```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 Exun { /// use exun::*; /// /// let x: Exun = Expected(2); - /// x.unwrap_unexpected(); // panics wirh `2` + /// x.unwrap_unexpected(); // panics with `2` /// ``` /// /// ``` -- cgit v1.2.3