aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko_string_cache/namespace.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-06-20 15:42:23 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-06-20 15:42:23 +0200
commitce9cd802dece197d446a64d305c568f7f418d853 (patch)
treedda710c553b32136dc6721a9f449f7c6a3b6471c /components/style/gecko_string_cache/namespace.rs
parent84a8bbc8a69e47cce4f01ea7906157d060bed1de (diff)
downloadservo-ce9cd802dece197d446a64d305c568f7f418d853.tar.gz
servo-ce9cd802dece197d446a64d305c568f7f418d853.zip
style: Clean up after #17427.
Diffstat (limited to 'components/style/gecko_string_cache/namespace.rs')
-rw-r--r--components/style/gecko_string_cache/namespace.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/style/gecko_string_cache/namespace.rs b/components/style/gecko_string_cache/namespace.rs
index 9368c16286f..319f15222a9 100644
--- a/components/style/gecko_string_cache/namespace.rs
+++ b/components/style/gecko_string_cache/namespace.rs
@@ -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.