about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-10-10 17:09:07 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-10-10 17:18:12 -0700
commitff37c65f5ca5d704c7cfb98fe11a7e09d7b983e1 (patch)
treecf71a69d773b5c1c47e8d9e7b67cae85dcc70498 /doc
parent304a2455c07fd66abbf3a110c953d0f47ecdec74 (diff)
downloadrust-ff37c65f5ca5d704c7cfb98fe11a7e09d7b983e1.tar.gz
rust-ff37c65f5ca5d704c7cfb98fe11a7e09d7b983e1.zip
Remove mention of argv.
Diffstat (limited to 'doc')
-rw-r--r--doc/rust.md2
1 files changed, 1 insertions, 1 deletions
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