Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Sync changes from mozilla-central. #22143

Merged
merged 11 commits into from Nov 8, 2018

style: Fix code style of a recent commit.

  • Loading branch information
emilio committed Nov 8, 2018
commit efa54a876a44fe602588fbb524be9b58e9280904
@@ -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)?;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.