Rocket/examples/pastebin
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
upload Add pastebin example. 2016-12-09 19:56:49 -08:00
Cargo.toml Move examples to their own workspace. 2021-03-09 21:57:30 -08:00