mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix some warnings new in Rust Nightly
This commit is contained in:
parent
f2e7b4ec8c
commit
94b19beefb
8 changed files with 10 additions and 14 deletions
|
@ -221,7 +221,6 @@ pub trait ThreadSafeLayoutNode:
|
|||
fn children(&self) -> LayoutIterator<Self::ChildrenIterator>;
|
||||
|
||||
/// Returns a ThreadSafeLayoutElement if this is an element, None otherwise.
|
||||
#[inline]
|
||||
fn as_element(&self) -> Option<Self::ConcreteThreadSafeLayoutElement>;
|
||||
|
||||
#[inline]
|
||||
|
@ -348,14 +347,12 @@ pub trait ThreadSafeLayoutElement:
|
|||
/// lazily_compute_pseudo_element_style, which operates on TElement.
|
||||
unsafe fn unsafe_get(self) -> Self::ConcreteElement;
|
||||
|
||||
#[inline]
|
||||
fn get_attr(&self, namespace: &Namespace, name: &LocalName) -> Option<&str>;
|
||||
|
||||
fn get_attr_enum(&self, namespace: &Namespace, name: &LocalName) -> Option<&AttrValue>;
|
||||
|
||||
fn style_data(&self) -> AtomicRef<ElementData>;
|
||||
|
||||
#[inline]
|
||||
fn get_pseudo_element_type(&self) -> PseudoElementType;
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue