diff options
author | Derek 呆 <116649+derekdai@users.noreply.github.com> | 2021-10-27 17:45:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 11:45:05 +0200 |
commit | ee65767d44cca79ce2677564151be69a60f6a94d (patch) | |
tree | 781189621682e19354f204070cf16cc60bbe6b44 | |
parent | f50bcf82c3e45921961ee4145bac88701fec62b0 (diff) | |
download | Nim-ee65767d44cca79ce2677564151be69a60f6a94d.tar.gz |
fix a tiny formating issue in doc/destructors.rst (#19058)
-rw-r--r-- | doc/destructors.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/destructors.rst b/doc/destructors.rst index 195dc8f97..b4575b2e2 100644 --- a/doc/destructors.rst +++ b/doc/destructors.rst @@ -653,7 +653,7 @@ The ability to override a hook leads to a phase ordering problem: discard -The solution is to define `proc `=destroy`[T](f: var Foo[T])` before +The solution is to define ````proc `=destroy`[T](f: var Foo[T])```` before it is used. The compiler generates implicit hooks for all types in *strategic places* so that an explicitly provided hook that comes too "late" can be detected reliably. These *strategic places* |