Skip to content

Commit

Permalink
style: Rustfmt recent changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Jul 8, 2019
1 parent c913941 commit 5596641
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
6 changes: 1 addition & 5 deletions components/servo_arc/lib.rs
Expand Up @@ -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);
}
}

Expand Down
1 change: 0 additions & 1 deletion components/style/matching.rs
Expand Up @@ -531,7 +531,6 @@ trait PrivateMatchMethods: TElement {
}
}


// Children with justify-items: auto may depend on our
// justify-items property value.
//
Expand Down
2 changes: 1 addition & 1 deletion components/style/values/computed/svg.rs
Expand Up @@ -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>;
Expand Down
2 changes: 1 addition & 1 deletion components/style/values/generics/svg.rs
Expand Up @@ -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
Expand Down

0 comments on commit 5596641

Please sign in to comment.