mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 05:23:20 +00:00
fix a tiny formating issue in doc/destructors.rst (#19058)
This commit is contained in:
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user