diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-05-30 21:49:09 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-05-30 21:49:09 +0200 |
commit | 0e83f5af007b4d830953c479a766e8fa476e4a63 (patch) | |
tree | 83bbacd0e9567bf9f3db905703bb192b34393f5e | |
parent | d7cac61d9cc8e4e9f4ef73aeac21075cc46c62b4 (diff) | |
download | servo-0e83f5af007b4d830953c479a766e8fa476e4a63.tar.gz servo-0e83f5af007b4d830953c479a766e8fa476e4a63.zip |
Fix minor misformatting in codegen.
-rw-r--r-- | src/components/script/dom/bindings/codegen/CodegenRust.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/bindings/codegen/CodegenRust.py b/src/components/script/dom/bindings/codegen/CodegenRust.py index 76b775b35a6..2fb98870617 100644 --- a/src/components/script/dom/bindings/codegen/CodegenRust.py +++ b/src/components/script/dom/bindings/codegen/CodegenRust.py @@ -2172,7 +2172,7 @@ class CGCallGenerator(CGThing): call = CGWrapper(call, pre="%s::" % descriptorProvider.interface.identifier.name) else: call = CGWrapper(call, pre="(*%s)." % object) - call = CGList([call, CGWrapper(args, pre="(", post=");")]) + call = CGList([call, CGWrapper(args, pre="(", post=")")]) self.cgRoot.append(CGList([ CGGeneric("let result: "), @@ -2194,7 +2194,7 @@ class CGCallGenerator(CGThing): " Err(e) => {\n" "%s" " throw_dom_exception(cx, &*global, e);\n" - " return%s;" + " return%s;\n" " },\n" "};\n" % (glob, errorResult))) |