Skip to content

Commit

Permalink
~[] to Vec in gfx/font_list.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
murphm8 authored and Ms2ger committed May 4, 2014
1 parent 98a78e3 commit f219dbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/gfx/font_list.rs
Expand Up @@ -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<FontEntry>,
}

impl FontFamily {
pub fn new(family_name: &str) -> FontFamily {
FontFamily {
family_name: family_name.to_str(),
entries: ~[],
entries: Vec::new(),
}
}

Expand Down

0 comments on commit f219dbe

Please sign in to comment.