Skip to content

Commit ff37c65

Browse files
committed
Remove mention of argv.
1 parent 304a245 commit ff37c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ a referencing crate file, or by the filename of the source file itself.
677677

678678
A source file that contains a `main` function can be compiled to an
679679
executable. If a `main` function is present, it must have no [type parameters](#type-parameters)
680-
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]`.
680+
and no [constraints](#constraints). Its return type must be [`nil`](#primitive-types) and it must take no arguments.
681681

682682
# Items and attributes
683683

0 commit comments

Comments
 (0)