From 98a78e3fafe1a94aef54b81e8f71a0f3e0c24ad3 Mon Sep 17 00:00:00 2001 From: Matt Murphy Date: Wed, 23 Apr 2014 22:01:16 -0500 Subject: [PATCH] ~[] to Vec in glut_windowing --- src/components/main/platform/common/glut_windowing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/main/platform/common/glut_windowing.rs b/src/components/main/platform/common/glut_windowing.rs index 00e3128e81a..9f9e59df101 100644 --- a/src/components/main/platform/common/glut_windowing.rs +++ b/src/components/main/platform/common/glut_windowing.rs @@ -47,7 +47,7 @@ impl Drop for Application { pub struct Window { pub glut_window: glut::Window, - pub event_queue: RefCell<~[WindowEvent]>, + pub event_queue: RefCell>, pub drag_origin: Point2D, @@ -70,7 +70,7 @@ impl WindowMethods for Window { let window = Window { glut_window: glut_window, - event_queue: RefCell::new(~[]), + event_queue: RefCell::new(Vec::new()), drag_origin: Point2D(0 as c_int, 0),