Use atom! in place of Atom::from_slice where necessary

This commit is contained in:
Manish Goregaokar 2014-11-22 16:07:55 +05:30
parent e6e73b8da7
commit 534919327d
4 changed files with 6 additions and 8 deletions

View file

@ -719,8 +719,8 @@ mod tests {
simple_selectors: vec!(),
next: Some((box CompoundSelector {
simple_selectors: vec!(LocalNameSelector(LocalName {
name: Atom::from_slice("div"),
lower_name: Atom::from_slice("div") })),
name: atom!("div"),
lower_name: atom!("div") })),
next: None,
}, Descendant)),
}),