Skip to content

Commit 0ae2ad0

Browse files
committed
Fix formatting of return from main types list
1 parent 6653329 commit 0ae2ad0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/attributes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ attribute must take no arguments, must not declare any
233233
type must be one of the following:
234234

235235
* `()`
236-
<!-- * `!` -->
237236
* `Result<(), E> where E: Error`
237+
<!-- * `!` -->
238238
<!-- * Result<!, E> where E: Error` -->
239239

240240
> Note: The implementation of which return types are allowed is determined by

src/crates-and-source-files.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ 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-
<!-- * `!` -->
7675
* `Result<(), E> where E: Error`
76+
<!-- * `!` -->
7777
<!-- * Result<!, E> where E: Error` -->
7878

7979
> Note: The implementation of which return types are allowed is determined by

0 commit comments

Comments
 (0)