We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 205c356 commit c360011Copy full SHA for c360011
src/doc/reference.md
@@ -649,8 +649,8 @@ apply to the crate as a whole.
649
```
650
651
A crate that contains a `main` function can be compiled to an executable. If a
652
-`main` function is present, its return type must be [`unit`](#tuple-types)
653
-and it must take no arguments.
+`main` function is present, its return type must be `()`
+("[unit](#tuple-types)") and it must take no arguments.
654
655
# Items and attributes
656
0 commit comments