Update reference.md
This commit is contained in:
parent
205c356ace
commit
c3600114cc
1 changed files with 2 additions and 2 deletions
|
|
@ -649,8 +649,8 @@ apply to the crate as a whole.
|
|||
```
|
||||
|
||||
A crate that contains a `main` function can be compiled to an executable. If a
|
||||
`main` function is present, its return type must be [`unit`](#tuple-types)
|
||||
and it must take no arguments.
|
||||
`main` function is present, its return type must be `()`
|
||||
("[unit](#tuple-types)") and it must take no arguments.
|
||||
|
||||
# Items and attributes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue