mirror of https://github.com/rwf2/Rocket.git
65da988962
This is a (minor) breaking change. If `rocket.launch()` is the last expression in a function, the return type will change from `()` to `LaunchError`. A simple workaround that preserves the previous functionality is to simply add a semicolon after `launch()`: `rocket.launch();`. resolves #34 |
||
---|---|---|
.. | ||
main.rs | ||
paste_id.rs |