update numbers of lifetime-tracking hooks in doc/destructors.rst (#19088)
This commit is contained in:
parent
4c510d5577
commit
24a7584299
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ The memory management for Nim's standard `string` and `seq` types as
|
||||||
well as other standard collections is performed via so-called
|
well as other standard collections is performed via so-called
|
||||||
"Lifetime-tracking hooks", which are particular `type bound operators <manual.html#procedures-type-bound-operators>`_.
|
"Lifetime-tracking hooks", which are particular `type bound operators <manual.html#procedures-type-bound-operators>`_.
|
||||||
|
|
||||||
There are 3 different hooks for each (generic or concrete) object type `T` (`T` can also be a
|
There are 4 different hooks for each (generic or concrete) object type `T` (`T` can also be a
|
||||||
`distinct` type) that are called implicitly by the compiler.
|
`distinct` type) that are called implicitly by the compiler.
|
||||||
|
|
||||||
(Note: The word "hook" here does not imply any kind of dynamic binding
|
(Note: The word "hook" here does not imply any kind of dynamic binding
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue