Rocket/examples/error-handling/src
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
..
main.rs Retrieve managed state via a borrow: '&State<T>'. 2021-05-11 08:58:16 -05:00
tests.rs Remove unused reason phrase in 'Status'. 2021-04-28 21:26:41 -07:00