mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-30 08:38:16 +02:00
various optimizations
This commit is contained in:
@@ -515,7 +515,7 @@ impl Future for UrlEncoded {
|
||||
Ok(Async::Ready(m))
|
||||
},
|
||||
Ok(Async::Ready(Some(item))) => {
|
||||
self.body.extend(item.0);
|
||||
self.body.extend_from_slice(&item.0);
|
||||
continue
|
||||
},
|
||||
Err(err) => Err(err),
|
||||
|
Reference in New Issue
Block a user