Update library/core/src/result.rs

Co-authored-by: Emil Thorenfeldt <emt@magenta.dk>
This commit is contained in:
Jane Lusby 2022-04-18 16:31:21 -07:00 committed by GitHub
parent eca7dd20d5
commit 00a315c515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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