mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-29 04:42:04 +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 | ||
tests.rs |