fix doc comment

This commit is contained in:
fakeshadow 2021-01-09 10:53:54 +08:00
parent 7db0ded43b
commit 2496eebd5b
1 changed files with 0 additions and 2 deletions

View File

@ -70,8 +70,6 @@ impl ServiceRequest {
} }
/// Construct request from parts. /// Construct request from parts.
///
/// `ServiceRequest` can be re-constructed only if `req` hasn't been cloned.
pub fn from_parts(req: HttpRequest, payload: Payload) -> Self { pub fn from_parts(req: HttpRequest, payload: Payload) -> Self {
Self { req, payload } Self { req, payload }
} }