fix example comment

This commit is contained in:
Rob Ede 2020-10-20 23:51:37 +01:00
parent 081c207ab7
commit 32b4184530
No known key found for this signature in database
GPG Key ID: C2A3B36E841A91E6
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ use crate::{dev::Payload, FromRequest, HttpRequest};
/// #[derive(Debug, Clone, PartialEq)]
/// struct FlagFromMiddleware(String);
///
/// /// Use the `Data<T>` extractor to access data in a handler.
/// /// Use the `ReqData<T>` extractor to access request data in a handler.
/// async fn handler(
/// req: HttpRequest,
/// opt_flag: Option<web::ReqData<FlagFromMiddleware>>,