Silence some warnings in geckolib

This commit is contained in:
Ravi Shankar 2016-09-27 12:03:55 +05:30
parent 4ceea0426c
commit 24c00da08c
6 changed files with 14 additions and 9 deletions

View file

@ -61,7 +61,7 @@ impl PseudoElement {
}
#[inline]
fn from_atom(atom: &WeakAtom, in_ua: bool) -> Option<Self> {
fn from_atom(atom: &WeakAtom, _in_ua: bool) -> Option<Self> {
macro_rules! pseudo_element {
($pseudo_str_with_colon:expr, $atom:expr, $is_anon_box:expr) => {{
if atom == &*$atom {