Skip to content

Commit

Permalink
Update reference.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Nov 24, 2015
1 parent 205c356 commit c360011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/reference.md
Expand Up @@ -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

Expand Down

0 comments on commit c360011

Please sign in to comment.