diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 47e718b6a42..0409775857a 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -1069,7 +1069,7 @@ impl Result { /// directly to users with the default `std` panic hook's report format: /// /// ```text - /// thread 'main' panicked at 'env variable `IMPORTANT_PATH` is always be set by `wrapper_script.sh`: NotPresent', src/main.rs:4:6 + /// thread 'main' panicked at 'env variable `IMPORTANT_PATH` is always set by `wrapper_script.sh`: NotPresent', src/main.rs:4:6 /// ``` /// /// This style works best when paired with a custom [panic hook] like the one provided by the