diff --git a/src/error-handling/try.md b/src/error-handling/try.md index 8bff82ef..7fca92ba 100644 --- a/src/error-handling/try.md +++ b/src/error-handling/try.md @@ -59,7 +59,7 @@ Key points: - Use the `fs::write` call to test out the different scenarios: no file, empty file, file with username. - Note that `main` can return a `Result<(), E>` as long as it implements - `std::process:Termination`. In practice, this means that `E` implements + `std::process::Termination`. In practice, this means that `E` implements `Debug`. The executable will print the `Err` variant and return a nonzero exit status on error.