From f219dbeb6f40e9521d592bc7f1a5df0c3c69c9fe Mon Sep 17 00:00:00 2001 From: Matt Murphy Date: Thu, 24 Apr 2014 19:53:25 -0500 Subject: [PATCH] ~[] to Vec in gfx/font_list.rs --- src/components/gfx/font_list.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/gfx/font_list.rs b/src/components/gfx/font_list.rs index a2193bec0e7..fd2a24eb6c5 100644 --- a/src/components/gfx/font_list.rs +++ b/src/components/gfx/font_list.rs @@ -84,14 +84,14 @@ impl FontList { // Holds a specific font family, and the various pub struct FontFamily { pub family_name: ~str, - pub entries: ~[FontEntry], + pub entries: Vec, } impl FontFamily { pub fn new(family_name: &str) -> FontFamily { FontFamily { family_name: family_name.to_str(), - entries: ~[], + entries: Vec::new(), } }