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:
Ms2ger
2017-02-01 06:25:40 -08:00
parent accdaeb671
commit d57c385284

View File

@@ -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(),