Skip to content

Commit c360011

Browse files
committed
Update reference.md
1 parent 205c356 commit c360011

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/reference.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ apply to the crate as a whole.
649649
```
650650

651651
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.
652+
`main` function is present, its return type must be `()`
653+
("[unit](#tuple-types)") and it must take no arguments.
654654

655655
# Items and attributes
656656

0 commit comments

Comments
 (0)