Update some feature gates.

CC #5286.
This commit is contained in:
Ms2ger 2015-03-20 13:55:11 +01:00
parent 2c85c1d312
commit dce11222ba
4 changed files with 4 additions and 7 deletions

View file

@ -5,7 +5,6 @@
//! A simple application that uses glutin to open a window for Servo to display in.
#![feature(int_uint)]
#![feature(core)]
#![feature(box_syntax)]
#[macro_use] extern crate bitflags;

View file

@ -447,7 +447,7 @@ impl WindowMethods for Window {
fn set_page_title(&self, title: Option<String>) {
let title = match title {
Some(ref title) if title.len() > 0 => title.as_slice(),
Some(ref title) if title.len() > 0 => &**title,
_ => "untitled",
};
let title = format!("{} - Servo", title);