style: Rustfmt recent changes.

This commit is contained in:
Emilio Cobos Álvarez 2019-07-08 12:56:47 +02:00
parent c913941669
commit 55966412af
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
4 changed files with 3 additions and 8 deletions

View file

@ -314,11 +314,7 @@ impl<T: ?Sized> Arc<T> {
fn record_drop(&self) { fn record_drop(&self) {
#[cfg(feature = "gecko_refcount_logging")] #[cfg(feature = "gecko_refcount_logging")]
unsafe { unsafe {
NS_LogDtor( NS_LogDtor(self.ptr() as *mut _, b"ServoArc\0".as_ptr() as *const _, 8);
self.ptr() as *mut _,
b"ServoArc\0".as_ptr() as *const _,
8,
);
} }
} }

View file

@ -531,7 +531,6 @@ trait PrivateMatchMethods: TElement {
} }
} }
// Children with justify-items: auto may depend on our // Children with justify-items: auto may depend on our
// justify-items property value. // justify-items property value.
// //

View file

@ -11,7 +11,7 @@ use crate::values::generics::svg as generic;
use crate::values::RGBA; use crate::values::RGBA;
use crate::Zero; use crate::Zero;
pub use crate::values::specified::{SVGPaintOrder, MozContextProperties}; pub use crate::values::specified::{MozContextProperties, SVGPaintOrder};
/// Computed SVG Paint value /// Computed SVG Paint value
pub type SVGPaint = generic::GenericSVGPaint<Color, ComputedUrl>; pub type SVGPaint = generic::GenericSVGPaint<Color, ComputedUrl>;

View file

@ -130,7 +130,7 @@ impl<C: Parse, U: Parse> Parse for SVGPaint<C, U> {
if matches!(kind, SVGPaintKind::None | SVGPaintKind::Color(..)) { if matches!(kind, SVGPaintKind::None | SVGPaintKind::Color(..)) {
return Ok(SVGPaint { return Ok(SVGPaint {
kind, kind,
fallback: SVGPaintFallback::Unset fallback: SVGPaintFallback::Unset,
}); });
} }
let fallback = input let fallback = input