mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-26 12:22:36 +00:00
d03a07b183
This has the following positive effects: 1) The lifetime retrieved through 'Deref' is now long-lived. 2) An '&State<T>` can be created via an '&T'. 3) '&State<T>' is shorter to type than 'State<'_, T>'. |
||
---|---|---|
.. | ||
async_required.rs | ||
main.rs |