Skip to content

Commit

Permalink
Merge pull request rust-lang#351 from Havvy/main-attr-remove
Browse files Browse the repository at this point in the history
Remove 'main' attr from reference. Still unstable.
  • Loading branch information
QuietMisdreavus authored Jun 4, 2018
2 parents c0c320a + b7d8dc3 commit f7debc8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ type int8_t = i8;

## Function-only attributes

- `main` - indicates that this function should be passed to the entry point,
rather than the function in the crate root named `main`.
- `test` - indicates that this function is a test function, to only be compiled
in case of `--test`.
- `ignore` - indicates that this test function is disabled.
Expand Down

0 comments on commit f7debc8

Please sign in to comment.