зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #5287 - Update some feature gates (from Ms2ger:gates); r=jdm
CC #5286. Source-Repo: https://github.com/servo/servo Source-Revision: 6ffd459479dde59f471eb42ef0515dd964b6a9d9
This commit is contained in:
Родитель
b25ea3bb55
Коммит
ce96136abb
|
@ -6,10 +6,9 @@
|
|||
#![feature(box_syntax)]
|
||||
#![feature(collections)]
|
||||
#![feature(core)]
|
||||
#![feature(hash)]
|
||||
#![feature(int_uint)]
|
||||
#![feature(io)]
|
||||
#![feature(path)]
|
||||
#![feature(old_io)]
|
||||
#![feature(old_path)]
|
||||
#![feature(plugin)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(std_misc)]
|
||||
|
|
|
@ -6,9 +6,8 @@
|
|||
#![feature(box_syntax)]
|
||||
#![feature(collections)]
|
||||
#![feature(core)]
|
||||
#![feature(hash)]
|
||||
#![feature(int_uint)]
|
||||
#![feature(io)]
|
||||
#![feature(old_io)]
|
||||
#![feature(plugin)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(std_misc)]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче