aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/macros.rs')
-rw-r--r--components/style/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/macros.rs b/components/style/macros.rs
index 12be15a182a..390a7c89538 100644
--- a/components/style/macros.rs
+++ b/components/style/macros.rs
@@ -88,7 +88,7 @@ macro_rules! define_keyword_type {
impl fmt::Debug for $name {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- write!(f, $css)
+ f.write_str($css)
}
}