style: Remove get_ prefix from get_state and get_id.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-24 21:25:16 +01:00
parent b8fb41da0c
commit 98c9292ecb
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
10 changed files with 27 additions and 25 deletions

View file

@ -461,13 +461,13 @@ pub trait TElement
}
/// Get this element's state, for non-tree-structural pseudos.
fn get_state(&self) -> ElementState;
fn state(&self) -> ElementState;
/// Whether this element has an attribute with a given namespace.
fn has_attr(&self, namespace: &Namespace, attr: &LocalName) -> bool;
/// The ID for this element.
fn get_id(&self) -> Option<Atom>;
fn id(&self) -> Option<Atom>;
/// Internal iterator for the classes of this element.
fn each_class<F>(&self, callback: F) where F: FnMut(&Atom);