From 0e1f6e19d6a3ae41c7817aecb4e1f226d1956eda Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Wed, 21 Aug 2013 16:11:59 -0700 Subject: [PATCH] Drop 'ref' to work around a Rust bug The bug is mozilla/rust#8675. Fixes #752. --- src/components/main/constellation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/main/constellation.rs b/src/components/main/constellation.rs index 1cadfe16a43..391fb175fd8 100644 --- a/src/components/main/constellation.rs +++ b/src/components/main/constellation.rs @@ -717,7 +717,7 @@ impl Constellation { fn handle_resized_window_msg(&mut self, new_size: Size2D) { let mut already_seen = HashSet::new(); - for &@FrameTree { pipeline: ref pipeline, _ } in self.current_frame().iter() { + for &@FrameTree { pipeline: pipeline, _ } in self.current_frame().iter() { let Size2D { width, height } = new_size; pipeline.script_chan.send(SendEventMsg(pipeline.id.clone(), ResizeEvent(width, height)));