diff options
author | Derek 呆 <116649+derekdai@users.noreply.github.com> | 2021-11-02 15:55:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 08:55:50 +0100 |
commit | 24a75842998709b29ef50ef4cc10d30304efe3aa (patch) | |
tree | d2fbc001bfd143e456b738a0dadf884ed5f0ffec | |
parent | 4c510d5577a0ced6a31b8417fed74acdd604b9a3 (diff) | |
download | Nim-24a75842998709b29ef50ef4cc10d30304efe3aa.tar.gz |
update numbers of lifetime-tracking hooks in doc/destructors.rst (#19088)
-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 6e4509666..d6f240dee 100644 --- a/doc/destructors.rst +++ b/doc/destructors.rst @@ -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 "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. (Note: The word "hook" here does not imply any kind of dynamic binding |