mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-21 22:49:44 +02:00
parent
2f7dc8f93d
commit
2e2d47c709
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user