fix a tiny formating issue in doc/destructors.rst (#19058)

This commit is contained in:
Derek 呆 2021-10-27 17:45:05 +08:00 • committed by GitHub
commit ee65767d44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -653,7 +653,7 @@ The ability to override a hook leads to a phase ordering problem:
discard 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 it is used. The compiler generates implicit
hooks for all types in *strategic places* so that an explicitly provided hooks for all types in *strategic places* so that an explicitly provided
hook that comes too "late" can be detected reliably. These *strategic places* hook that comes too "late" can be detected reliably. These *strategic places*