add `ignore` to doc comment

This commit is contained in:
Jacob Brown 2020-01-09 15:56:42 -06:00
parent 713d3fd56d
commit 897d015ac5
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ impl HttpRequest {
/// ///
/// If `App::data` was used to store object, use `Data<T>`: /// If `App::data` was used to store object, use `Data<T>`:
/// ///
/// ```rust,no_run /// ```rust,ignore
/// let opt_t = req.app_data::<Data<T>>(); /// let opt_t = req.app_data::<Data<T>>();
/// ``` /// ```
pub fn app_data<T: 'static>(&self) -> Option<&T> { pub fn app_data<T: 'static>(&self) -> Option<&T> {