mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Rustfmt recent changes.
This commit is contained in:
parent
c913941669
commit
55966412af
4 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue