diff --git a/lib/src/request/request.rs b/lib/src/request/request.rs index d58799ed..6fc01d5e 100644 --- a/lib/src/request/request.rs +++ b/lib/src/request/request.rs @@ -430,12 +430,10 @@ impl<'r> Request<'r> { /// /// # Example /// - /// Invoke the `Json` request guard. + /// Assuming a `User` request guard exists, invoke it: /// /// ```rust,ignore - /// use rocket_contrib::Json; - /// - /// let outcome = request.guard::>(); + /// let outcome = request.guard::(); /// ``` /// /// Retrieve managed state inside of a guard implementation: