We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 133080a + c360011 commit 27e8f15Copy full SHA for 27e8f15
src/doc/reference.md
@@ -677,8 +677,8 @@ apply to the crate as a whole.
677
```
678
679
A crate that contains a `main` function can be compiled to an executable. If a
680
-`main` function is present, its return type must be [`unit`](#tuple-types)
681
-and it must take no arguments.
+`main` function is present, its return type must be `()`
+("[unit](#tuple-types)") and it must take no arguments.
682
683
# Items and attributes
684
0 commit comments