Skip to content

Commit eca7dd2

Browse files
yaahcwonderfulspam
andauthored
Update library/core/src/result.rs
Co-authored-by: Emil Thorenfeldt <[email protected]>
1 parent 5d98acb commit eca7dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ impl<T, E> Result<T, E> {
10521052
///
10531053
/// ```should_panic
10541054
/// let path = std::env::var("IMPORTANT_PATH")
1055-
/// .expect("env variable `IMPORTANT_PATH` is always be set by `wrapper_script.sh`");
1055+
/// .expect("env variable `IMPORTANT_PATH` is always set by `wrapper_script.sh`");
10561056
/// ```
10571057
///
10581058
/// The "expect as error message" style has the advantage of giving a more user friendly error

0 commit comments

Comments
 (0)