diff options
Diffstat (limited to 'components/util/cursor.rs')
-rw-r--r-- | components/util/cursor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/util/cursor.rs b/components/util/cursor.rs index 8e4ca9e3c1c..bda254861e2 100644 --- a/components/util/cursor.rs +++ b/components/util/cursor.rs @@ -26,8 +26,8 @@ macro_rules! define_cursor { impl ToCss for Cursor { fn to_css<W>(&self, dest: &mut W) -> ::std::fmt::Result where W: ::std::fmt::Write { - match self { - $( &Cursor::$variant => dest.write_str($css) ),+ + match *self { + $( Cursor::$variant => dest.write_str($css) ),+ } } } |