Clarify manage method docs.

This commit is contained in:
Sergio Benitez 2017-02-02 18:16:57 -08:00
parent a88aa21b60
commit 5abb8d99b4
1 changed files with 3 additions and 0 deletions

View File

@ -483,6 +483,9 @@ impl Rocket {
/// Add `state` to the state managed by this instance of Rocket.
///
/// This method can be called any number of times as long as each call
/// referes to a different `T`.
///
/// Managed state can be retrieved by any request handler via the
/// [State](/rocket/struct.State.html) request guard. In particular, if a
/// value of type `T` is managed by Rocket, adding `State<T>` to the list of