mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add a missing newline in wrap_panic() calls.
This commit is contained in:
parent
da89099e26
commit
49ce1332e1
1 changed files with 1 additions and 1 deletions
|
@ -2395,7 +2395,7 @@ class CGAbstractMethod(CGThing):
|
|||
if self.catchPanic:
|
||||
body = CGWrapper(CGIndenter(body),
|
||||
pre="return wrap_panic(panic::AssertUnwindSafe(|| {\n",
|
||||
post=("""}), %s);""" % ("()" if self.returnType == "void" else "false")))
|
||||
post=("""\n}), %s);""" % ("()" if self.returnType == "void" else "false")))
|
||||
|
||||
return CGWrapper(CGIndenter(body),
|
||||
pre=self.definition_prologue(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue