From c3600114cc29bd015847fcb208af55a2e2d3a5b8 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 24 Nov 2015 11:56:27 +0530 Subject: [PATCH] Update reference.md --- src/doc/reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index 900d1306e050c..97be9a36ed63d 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -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