mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove redundant .clone()
s
This commit is contained in:
parent
eeaca0b26d
commit
c44a2febe6
19 changed files with 31 additions and 35 deletions
|
@ -358,7 +358,7 @@ impl NetworkEventActor {
|
|||
let status_text = String::from_utf8_lossy(st).into_owned();
|
||||
(StatusCode::from_u16(s).unwrap(), status_text)
|
||||
});
|
||||
self.response.body = response.body.clone();
|
||||
self.response.body = response.body;
|
||||
}
|
||||
|
||||
pub fn event_actor(&self) -> EventActor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue