servo: Merge #15327 - Add a missing newline in wrap_panic() calls (from servo:missing-newline-wrap-panic); r=jdm
Source-Repo: https://github.com/servo/servo Source-Revision: bac2f68b541139702ac4347310cffe369f1bbb85
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user