mirror of
https://github.com/servo/servo.git
synced 2025-06-30 03:53:37 +01:00
style: Fix code style of a recent commit.
This commit is contained in:
parent
23f2e99e99
commit
efa54a876a
1 changed files with 4 additions and 4 deletions
|
@ -580,9 +580,9 @@ impl<Number: ToCss + PartialEq> ToCss for Scale<Number> {
|
||||||
where
|
where
|
||||||
W: fmt::Write,
|
W: fmt::Write,
|
||||||
{
|
{
|
||||||
match self {
|
match *self {
|
||||||
&Scale::None => dest.write_str("none"),
|
Scale::None => dest.write_str("none"),
|
||||||
&Scale::Scale(ref x, ref y) => {
|
Scale::Scale(ref x, ref y) => {
|
||||||
x.to_css(dest)?;
|
x.to_css(dest)?;
|
||||||
if x != y {
|
if x != y {
|
||||||
dest.write_char(' ')?;
|
dest.write_char(' ')?;
|
||||||
|
@ -590,7 +590,7 @@ impl<Number: ToCss + PartialEq> ToCss for Scale<Number> {
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
},
|
},
|
||||||
&Scale::Scale3D(ref x, ref y, ref z) => {
|
Scale::Scale3D(ref x, ref y, ref z) => {
|
||||||
x.to_css(dest)?;
|
x.to_css(dest)?;
|
||||||
dest.write_char(' ')?;
|
dest.write_char(' ')?;
|
||||||
y.to_css(dest)?;
|
y.to_css(dest)?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue