about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJane Lusby <jlusby42@gmail.com>2022-04-18 16:31:21 -0700
committerGitHub <noreply@github.com>2022-04-18 16:31:21 -0700
commit00a315c515654698e70ca5bb1c20eae8a4f67a6a (patch)
tree1b2f36b5a7f571c4b4bd38e64ab4cc95beda1392
parenteca7dd20d595c94cc43d59aaf2067ffcc0b86483 (diff)
downloadrust-00a315c515654698e70ca5bb1c20eae8a4f67a6a.tar.gz
rust-00a315c515654698e70ca5bb1c20eae8a4f67a6a.zip
Update library/core/src/result.rs
Co-authored-by: Emil Thorenfeldt <emt@magenta.dk>
-rw-r--r--library/core/src/result.rs2
1 files changed, 1 insertions, 1 deletions
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<T, E> Result<T, E> {
     /// 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