diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-10-12 19:40:48 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-10-12 20:21:49 -0400 |
commit | 20beaf5af31cb58c112cedc6bd4a2f4b89196da4 (patch) | |
tree | f2628f82f068194739b33d763b462a4da5690675 /components/util/cursor.rs | |
parent | 6303126e0c48e9c83aa7edd813079a6a360837b2 (diff) | |
download | servo-20beaf5af31cb58c112cedc6bd4a2f4b89196da4.tar.gz servo-20beaf5af31cb58c112cedc6bd4a2f4b89196da4.zip |
Fix issues found by rust-clippy
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) ),+ } } } |