diff --git a/components/servo_arc/lib.rs b/components/servo_arc/lib.rs index c2e5dd65e22..53c7d7aaa31 100644 --- a/components/servo_arc/lib.rs +++ b/components/servo_arc/lib.rs @@ -314,11 +314,7 @@ impl Arc { 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); } } diff --git a/components/style/matching.rs b/components/style/matching.rs index c34ada24a92..dfc5685098c 100644 --- a/components/style/matching.rs +++ b/components/style/matching.rs @@ -531,7 +531,6 @@ trait PrivateMatchMethods: TElement { } } - // Children with justify-items: auto may depend on our // justify-items property value. // diff --git a/components/style/values/computed/svg.rs b/components/style/values/computed/svg.rs index 593e5d50a2f..54648572f86 100644 --- a/components/style/values/computed/svg.rs +++ b/components/style/values/computed/svg.rs @@ -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; diff --git a/components/style/values/generics/svg.rs b/components/style/values/generics/svg.rs index 285c309f3b4..4a1fc42551d 100644 --- a/components/style/values/generics/svg.rs +++ b/components/style/values/generics/svg.rs @@ -130,7 +130,7 @@ impl Parse for SVGPaint { if matches!(kind, SVGPaintKind::None | SVGPaintKind::Color(..)) { return Ok(SVGPaint { kind, - fallback: SVGPaintFallback::Unset + fallback: SVGPaintFallback::Unset, }); } let fallback = input