mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Rustfmt recent changes.
This commit is contained in:
parent
122f8ed1bb
commit
2e6d34cad9
5 changed files with 58 additions and 52 deletions
|
@ -88,7 +88,10 @@ fn derive_variant_arm(
|
|||
let field_attrs = cg::parse_field_attrs::<AnimationFieldAttrs>(&result.ast());
|
||||
if field_attrs.field_bound {
|
||||
let ty = &this.ast().ty;
|
||||
cg::add_predicate(where_clause, parse_quote!(#ty: crate::values::animated::Animate));
|
||||
cg::add_predicate(
|
||||
where_clause,
|
||||
parse_quote!(#ty: crate::values::animated::Animate),
|
||||
);
|
||||
}
|
||||
if field_attrs.constant {
|
||||
quote! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue