mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix warnings
Fixing unused attributes warnings required updating serde_macros which required updating to rustc 1.6.0-nightly (a2866e387 2015-11-30) which required updating some other dependencies.
This commit is contained in:
parent
8ae008761f
commit
b19cc7e44c
11 changed files with 121 additions and 122 deletions
|
@ -947,7 +947,7 @@ pub trait ThreadSafeLayoutNode<'ln> : Clone + Copy + Sized {
|
|||
/// `empty_cells` per CSS 2.1 § 17.6.1.1.
|
||||
fn is_content(&self) -> bool {
|
||||
match self.type_id() {
|
||||
Some(NodeTypeId::Element(..)) | Some(NodeTypeId::CharacterData(CharacterDataTypeId::Text(..))) => true,
|
||||
Some(NodeTypeId::Element(..)) | Some(NodeTypeId::CharacterData(CharacterDataTypeId::Text)) => true,
|
||||
_ => false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue