You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/rust.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -677,7 +677,7 @@ a referencing crate file, or by the filename of the source file itself.
677
677
678
678
A source file that contains a `main` function can be compiled to an
679
679
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.
0 commit comments