mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Fix clippy warnings
Depends on D96634 Differential Revision: https://phabricator.services.mozilla.com/D96636
This commit is contained in:
parent
484cf5771b
commit
3bcde6fd91
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ fn derive_variant_arm(variant: &VariantInfo, generics: &mut Option<WhereClause>)
|
|||
}
|
||||
} else if let Some(function) = variant_attrs.function {
|
||||
let mut identifier = function.explicit().map_or(identifier, |name| name);
|
||||
identifier.push_str("(");
|
||||
identifier.push('(');
|
||||
expr = quote! {
|
||||
std::fmt::Write::write_str(dest, #identifier)?;
|
||||
#expr?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue