mirror of https://github.com/fafhrd91/actix-web
fix doc comment
This commit is contained in:
parent
7db0ded43b
commit
2496eebd5b
|
@ -70,8 +70,6 @@ impl ServiceRequest {
|
|||
}
|
||||
|
||||
/// 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 {
|
||||
Self { req, payload }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue