style: Clean up after #17427.

This commit is contained in:
Emilio Cobos Álvarez 2017-06-20 15:42:23 +02:00
parent 84a8bbc8a6
commit ce9cd802de
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 4 additions and 3 deletions

View file

@ -13,7 +13,8 @@ use string_cache::{Atom, WeakAtom};
#[macro_export]
macro_rules! ns {
() => { $crate::string_cache::Namespace(atom!("")) }
() => { $crate::string_cache::Namespace(atom!("")) };
($s: tt) => { $crate::string_cache::Namespace(atom!($s)) };
}
/// A Gecko namespace is just a wrapped atom.