mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Auto merge of #15327 - servo:missing-newline-wrap-panic, r=jdm
Add a missing newline in wrap_panic() calls. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15327) <!-- Reviewable:end -->
This commit is contained in:
commit
bac2f68b54
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