mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-31 23:02:37 +00:00
12308b403f
The attribute is applied everywhere it can be across the codebase and is the newly preferred method for launching an application. This commit also makes '#[rocket::main]` stricter by warning when it is applied to functions other than 'main'. |
||
---|---|---|
.. | ||
main.rs |