add `no_run` to doc comment

This commit is contained in:
Jacob Brown 2020-01-09 15:50:06 -06:00
parent fa237dd128
commit 713d3fd56d
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>`:
///
/// ```rust
/// ```rust,no_run
/// let opt_t = req.app_data::<Data<T>>();
/// ```
pub fn app_data<T: 'static>(&self) -> Option<&T> {