mirror of https://github.com/rwf2/Rocket.git
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 |