Rollup merge of #30020 - Manishearth:unit, r=bluss

`unit` was in code formatting, which is wrong, since it's not actual code. The correct code is `()`.
This commit is contained in:
Steve Klabnik 2015-11-24 09:43:46 -05:00
commit fab9dd6c80

View File

@ -677,8 +677,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