mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove redundant .clone()
s
This commit is contained in:
parent
eeaca0b26d
commit
c44a2febe6
19 changed files with 31 additions and 35 deletions
|
@ -287,7 +287,7 @@ impl WebVRThread {
|
|||
fn notify_events(&self, events: Vec<VREvent>) {
|
||||
let pipeline_ids: Vec<PipelineId> = self.contexts.iter().map(|c| *c).collect();
|
||||
self.constellation_chan
|
||||
.send(ConstellationMsg::WebVREvents(pipeline_ids.clone(), events))
|
||||
.send(ConstellationMsg::WebVREvents(pipeline_ids, events))
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue