diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-09-02 19:11:44 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-09-04 19:01:43 +0200 |
commit | 5d06c9959f9c9035d6dd419a87184d96bf033f08 (patch) | |
tree | 5a6182c319fdd50a4cb016311b5086b82bd8b471 /components/style/macros.rs | |
parent | fae2da0f5913a55ae0e5820db25169a52b6e8637 (diff) | |
download | servo-5d06c9959f9c9035d6dd419a87184d96bf033f08.tar.gz servo-5d06c9959f9c9035d6dd419a87184d96bf033f08.zip |
Replace some more uses of `write!` in components/style
Diffstat (limited to 'components/style/macros.rs')
-rw-r--r-- | components/style/macros.rs | 2 |
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) } } |