1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-28 02:49:02 +02:00

cleanup mut transform

This commit is contained in:
Nikolay Kim
2018-06-18 04:41:41 +06:00
parent 6ec8352612
commit a5bbc455c0
7 changed files with 20 additions and 27 deletions

View File

@ -307,7 +307,7 @@ impl<H: 'static> Entry<H> {
// Payload and Content-Encoding
let (psender, payload) = Payload::new(false);
let msg = settings.get_http_message();
let mut msg = settings.get_http_message();
msg.get_mut().url = Url::new(parts.uri);
msg.get_mut().method = parts.method;
msg.get_mut().version = parts.version;