Skip to content

Commit

Permalink
fix: extra parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
eerii committed Mar 20, 2024
1 parent fc5327c commit 77683e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/bindings/codegen/CodegenRust.py
Original file line number Diff line number Diff line change
Expand Up @@ -3470,7 +3470,7 @@ def defineAliasesFor(m):

constructors = self.descriptor.interface.legacyFactoryFunctions
if constructors:
decl = ("let named_constructors: [(ConstructorClassHook, &[u8], u32); %d]") % len(constructors)
decl = "let named_constructors: [(ConstructorClassHook, &[u8], u32); %d]" % len(constructors)
specs = []
for constructor in constructors:
hook = CONSTRUCT_HOOK_NAME + "_" + constructor.identifier.name
Expand Down

0 comments on commit 77683e3

Please sign in to comment.