Permalink
Browse files

style: Fix code style of a recent commit.

  • Loading branch information...
emilio committed Nov 7, 2018
1 parent 23f2e99 commit efa54a876a44fe602588fbb524be9b58e9280904
Showing with 4 additions and 4 deletions.
  1. +4 −4 components/style/values/generics/transform.rs
@@ -580,17 +580,17 @@ impl<Number: ToCss + PartialEq> ToCss for Scale<Number> {
where
W: fmt::Write,
{
match self {
&Scale::None => dest.write_str("none"),
&Scale::Scale(ref x, ref y) => {
match *self {
Scale::None => dest.write_str("none"),
Scale::Scale(ref x, ref y) => {
x.to_css(dest)?;
if x != y {
dest.write_char(' ')?;
y.to_css(dest)?;
}
Ok(())
},
&Scale::Scale3D(ref x, ref y, ref z) => {
Scale::Scale3D(ref x, ref y, ref z) => {
x.to_css(dest)?;
dest.write_char(' ')?;
y.to_css(dest)?;

0 comments on commit efa54a8

Please sign in to comment.