Replace usage of discriminant_value in viewport.rs

This commit is contained in:
Simon Sapin 2016-06-27 22:17:03 +02:00
parent f3d6859ab7
commit 3932a82a2c
2 changed files with 74 additions and 33 deletions

View file

@ -23,9 +23,6 @@
//! [cssparser]: ../cssparser/index.html
//! [selectors]: ../selectors/index.html
// FIXME: replace discriminant_value with per-enum methods that use `match`?
#![feature(core_intrinsics)]
#![cfg_attr(feature = "servo", feature(custom_attribute))]
#![cfg_attr(feature = "servo", feature(custom_derive))]
#![cfg_attr(feature = "servo", feature(plugin))]