Replace double backticks with single backticks - Part 1 out of ~6 (#17205)

This commit is contained in:
Danil Yarantsev 2021-03-01 10:08:12 +03:00 • committed by GitHub
commit ac8166ab3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 75 additions and 75 deletions

View file

@ -166,16 +166,16 @@ when defined(nimdoc):
## this thread will only be initialized once per thread, no matter how often
## it is called.
##
## This function is available only when ``--threads:on`` and ``--tlsEmulation:off``
## This function is available only when `--threads:on` and `--tlsEmulation:off`
## switches are used
discard
proc tearDownForeignThreadGc*() {.gcsafe.} =
## Call this to tear down the GC, previously initialized by ``setupForeignThreadGc``.
## Call this to tear down the GC, previously initialized by `setupForeignThreadGc`.
## If GC has not been previously initialized, or has already been torn down, the
## call does nothing.
##
## This function is available only when ``--threads:on`` and ``--tlsEmulation:off``
## This function is available only when `--threads:on` and `--tlsEmulation:off`
## switches are used
discard
elif declared(threadType):
@ -432,10 +432,10 @@ proc prepareDealloc(cell: PCell) =
decTypeSize(cell, t)
proc deallocHeap*(runFinalizers = true; allowGcAfterwards = true) =
## Frees the thread local heap. Runs every finalizer if ``runFinalizers``
## is true. If ``allowGcAfterwards`` is true, a minimal amount of allocation
## Frees the thread local heap. Runs every finalizer if `runFinalizers`
## is true. If `allowGcAfterwards` is true, a minimal amount of allocation
## happens to ensure the GC can continue to work after the call
## to ``deallocHeap``.
## to `deallocHeap`.
template deallocCell(x) =
if isCell(x):
# cast to PCell is correct here: