Skip to content

Commit 90077f2

Browse files
authored
Update question-mark-in-main-and-tests.md
1 parent 3647f8d commit 90077f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2018/error-handling-and-panics/question-mark-in-main-and-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn main() -> Result<(), std::io::Error> {
7575

7676
In this case, if say the file doesn't exist and there is an `Err(err)` somewhere,
7777
then `main` will exit with an error code (not `0`) and print out a `Debug`
78-
representation of `err`. Note that this will always print the `Debug` representation.
78+
representation of `err`. Note that this will always print out the `Debug` representation.
7979
If you would like to, for example, print out the `Display` representation of `err`,
8080
you will still have to do what you would in Rust 2015.
8181

0 commit comments

Comments
 (0)