Rocket/examples/state
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 Retrieve managed state via a borrow: '&State<T>'. 2021-05-11 08:58:16 -05:00
Cargo.toml Completely revamp, redo examples. 2021-04-07 23:09:05 -07:00