mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-11-29 22:47:43 +02:00
errors3 solution
This commit is contained in:
@@ -675,8 +675,8 @@ If other functions can return a `Result`, why shouldn't `main`? It's a fairly
|
||||
common convention to return something like `Result<(), ErrorType>` from your
|
||||
`main` function.
|
||||
|
||||
The unit (`()`) type is there because nothing is really needed in terms of
|
||||
positive results."""
|
||||
The unit type `()` is there because nothing is really needed in terms of a
|
||||
positive result."""
|
||||
|
||||
[[exercises]]
|
||||
name = "errors4"
|
||||
|
||||
Reference in New Issue
Block a user