fix a tiny code snippet formatting issue in doc/constructors.rst, again (#19065)
This commit is contained in:
parent
ee65767d44
commit
cd2b093d07
1 changed files with 1 additions and 1 deletions
|
|
@ -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*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue