mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
style: Rustfmt recent changes.
This commit is contained in:
parent
c913941669
commit
55966412af
4 changed files with 3 additions and 8 deletions
|
@ -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