From ff37c65f5ca5d704c7cfb98fe11a7e09d7b983e1 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Wed, 10 Oct 2012 17:09:07 -0700 Subject: [PATCH] Remove mention of argv. --- doc/rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rust.md b/doc/rust.md index 83d0b886e9d..3adc6382c3b 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -677,7 +677,7 @@ a referencing crate file, or by the filename of the source file itself. A source file that contains a `main` function can be compiled to an executable. If a `main` function is present, it must have no [type parameters](#type-parameters) -and no [constraints](#constraints). Its return type must be [`nil`](#primitive-types) and it must either have no arguments, or a single argument of type `[~str]`. +and no [constraints](#constraints). Its return type must be [`nil`](#primitive-types) and it must take no arguments. # Items and attributes