diff options
| author | Jane Lusby <jlusby42@gmail.com> | 2022-04-18 16:31:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-18 16:31:13 -0700 |
| commit | eca7dd20d595c94cc43d59aaf2067ffcc0b86483 (patch) | |
| tree | f8c6d3f963d7dffe1fabbbdf66b1e4a1c08dcfb9 | |
| parent | 5d98acb19cd9a9d77f6e931a26cdb846723b65f2 (diff) | |
Update library/core/src/result.rs
Co-authored-by: Emil Thorenfeldt <emt@magenta.dk>
| -rw-r--r-- | library/core/src/result.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 7cbe2213b22..47e718b6a42 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -1052,7 +1052,7 @@ impl<T, E> Result<T, E> { /// /// ```should_panic /// let path = std::env::var("IMPORTANT_PATH") - /// .expect("env variable `IMPORTANT_PATH` is always be set by `wrapper_script.sh`"); + /// .expect("env variable `IMPORTANT_PATH` is always set by `wrapper_script.sh`"); /// ``` /// /// The "expect as error message" style has the advantage of giving a more user friendly error |
