diff options
author | Danil Yarantsev <tiberiumk12@gmail.com> | 2021-03-01 10:08:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 23:08:12 -0800 |
commit | ac8166ab3d6872e9f9f5443925cc2d5e8b56289d (patch) | |
tree | ba46b4b7107097209ef4866c37c60943ca919dcb /lib/system/excpt.nim | |
parent | 56461c280f78c55f538da7f382e1c2c308e04915 (diff) | |
download | Nim-ac8166ab3d6872e9f9f5443925cc2d5e8b56289d.tar.gz |
Replace double backticks with single backticks - Part 1 out of ~6 (#17205)
Diffstat (limited to 'lib/system/excpt.nim')
-rw-r--r-- | lib/system/excpt.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 19bf8911d..c3f8255b1 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -351,7 +351,7 @@ var onUnhandledException*: (proc (errorMsg: string) {. nimcall, gcsafe.}) ## Set this error \ ## handler to override the existing behaviour on an unhandled exception. ## - ## The default is to write a stacktrace to ``stderr`` and then call ``quit(1)``. + ## The default is to write a stacktrace to `stderr` and then call `quit(1)`. ## Unstable API. proc reportUnhandledErrorAux(e: ref Exception) {.nodestroy.} = @@ -424,7 +424,7 @@ when gotoBasedExceptions: result = addr(nimInErrorMode) proc nimTestErrorFlag() {.compilerRtl.} = - ## This proc must be called before ``currException`` is destroyed. + ## This proc must be called before `currException` is destroyed. ## It also must be called at the end of every thread to ensure no ## error is swallowed. if nimInErrorMode and currException != nil: @@ -527,8 +527,8 @@ proc getStackTrace(e: ref Exception): string = result = "" proc getStackTraceEntries*(e: ref Exception): seq[StackTraceEntry] = - ## Returns the attached stack trace to the exception ``e`` as - ## a ``seq``. This is not yet available for the JS backend. + ## Returns the attached stack trace to the exception `e` as + ## a `seq`. This is not yet available for the JS backend. when not defined(nimSeqsV2): shallowCopy(result, e.trace) else: |