mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
add allow(non_camel_case_types) to generated pref structs (#33987)
Signed-off-by: Ville Lindholm <ville@lindholm.dev>
This commit is contained in:
parent
12dd79c3e8
commit
202cb53d5b
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ impl Build {
|
|||
.collect::<Result<Vec<_>>>()?;
|
||||
self.output.extend(quote! {
|
||||
#[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
|
||||
#[allow(non_camel_case_types)]
|
||||
pub struct #struct_name {
|
||||
#(#field_defs), *
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue