aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorDanila Matveev <optician_owl@fastmail.com>2024-07-16 13:59:12 +0400
committerGitHub <noreply@github.com>2024-07-16 09:59:12 +0000
commit0189b89fd16b9fefd5c659dc27013b9dd6a0c3dd (patch)
tree7ca667359514c80c77fc15c51b5ff9a07f98348c /components/script
parentd5171c068cd3a00dafb70e0d4f10dff42a8888a5 (diff)
downloadservo-0189b89fd16b9fefd5c659dc27013b9dd6a0c3dd.tar.gz
servo-0189b89fd16b9fefd5c659dc27013b9dd6a0c3dd.zip
Fixes typo in clippy::enum_variant_names (#32784)
Signed-off-by: Danila Matveev <optician_owl@fastmail.com> Signed-off-by: Danila Matveev <usurname.r@gmail.com>
Diffstat (limited to 'components/script')
-rw-r--r--components/script/dom/bindings/codegen/CodegenRust.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py
index 417a3c71844..b59c3e7003d 100644
--- a/components/script/dom/bindings/codegen/CodegenRust.py
+++ b/components/script/dom/bindings/codegen/CodegenRust.py
@@ -42,7 +42,7 @@ from Configuration import (
AUTOGENERATED_WARNING_COMMENT = "/* THIS FILE IS AUTOGENERATED - DO NOT EDIT */\n\n"
ALLOWED_WARNING_LIST = ['non_camel_case_types', 'non_upper_case_globals', 'unused_imports',
'unused_variables', 'unused_assignments', 'unused_mut',
- 'clippy::approx_constant', 'clippy::enum_variant_name', 'clippy::let_unit_value',
+ 'clippy::approx_constant', 'clippy::enum_variant_names', 'clippy::let_unit_value',
'clippy::needless_return', 'clippy::too_many_arguments', 'clippy::unnecessary_cast',
'clippy::upper_case_acronyms']
ALLOWED_WARNINGS = f"#![allow({','.join(ALLOWED_WARNING_LIST)})]\n\n"