Rocket/core/codegen
Sergio Benitez d03a07b183 Retrieve managed state via a borrow: '&State<T>'.
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>'.
2021-05-11 08:58:16 -05:00
..
src Document 'async' attributes. 2021-04-28 21:58:14 -07:00
tests Retrieve managed state via a borrow: '&State<T>'. 2021-05-11 08:58:16 -05:00
Cargo.toml Allow several 'field' attributes in all derives. 2021-04-07 23:09:05 -07:00