Skip to content

Commit 3348d21

Browse files
committed
Address feedback for main fn changes
1 parent f15b529 commit 3348d21

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/crates-and-source-files.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,11 @@ A crate that contains a `main` [function] can be compiled to an executable. If a
7272
type must be one of the following:
7373

7474
* `()`
75-
* `bool`
76-
* `i32`
77-
<!-- `!` -->
75+
<!-- * `!` -->
7876
* `Result<T, E> where T: on this list, E: Error`
7977

80-
> Note: The implementation of which return types is allowed is the unstable
81-
> [`Termination`] trait.
78+
> Note: The implementation of which return types are allowed is determined by
79+
> the unstable [`Termination`] trait.
8280
8381
The optional [_UTF8 byte order mark_] (UTF8BOM production) indicates that the
8482
file is encoded in UTF8. It can only occur at the beginning of the file and

0 commit comments

Comments
 (0)