Skip to content
Permalink
Browse files

style: Rustfmt recent changes.

  • Loading branch information...
emilio committed Jul 8, 2019
1 parent c913941 commit 55966412af740b8ba6bfdd5054eccbba7320e2c8
@@ -314,11 +314,7 @@ impl<T: ?Sized> Arc<T> {
fn record_drop(&self) {
#[cfg(feature = "gecko_refcount_logging")]
unsafe {
NS_LogDtor(
self.ptr() as *mut _,
b"ServoArc\0".as_ptr() as *const _,
8,
);
NS_LogDtor(self.ptr() as *mut _, b"ServoArc\0".as_ptr() as *const _, 8);
}
}

@@ -531,7 +531,6 @@ trait PrivateMatchMethods: TElement {
}
}


// Children with justify-items: auto may depend on our
// justify-items property value.
//
@@ -11,7 +11,7 @@ use crate::values::generics::svg as generic;
use crate::values::RGBA;
use crate::Zero;

pub use crate::values::specified::{SVGPaintOrder, MozContextProperties};
pub use crate::values::specified::{MozContextProperties, SVGPaintOrder};

/// Computed SVG Paint value
pub type SVGPaint = generic::GenericSVGPaint<Color, ComputedUrl>;
@@ -130,7 +130,7 @@ impl<C: Parse, U: Parse> Parse for SVGPaint<C, U> {
if matches!(kind, SVGPaintKind::None | SVGPaintKind::Color(..)) {
return Ok(SVGPaint {
kind,
fallback: SVGPaintFallback::Unset
fallback: SVGPaintFallback::Unset,
});
}
let fallback = input

0 comments on commit 5596641

Please sign in to comment.
You can’t perform that action at this time.