chiark / gitweb /
doc/concepts.tex: Fix copy-and-paste fail in `Destruction' section.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 2 Aug 2017 09:50:40 +0000 (10:50 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000 (19:58 +0100)
doc/concepts.tex

index 7702f1394659330889ba4be8c67f62083ef0dce5..759153b5bc646007417372a3546577914c3ae667 100644 (file)
@@ -840,9 +840,9 @@ allocated from the standard @|malloc| heap is done using the
 \descref{sod_destroy}[function]{fun}.
 
 \subsubsection{Teardown}
-Details of initialization are necessarily class-specific, but typically it
-involves setting the instance's slots to appropriate values, and possibly
-linking it into some larger data structure to keep track of it.
+Details of teardown are necessarily class-specific, but typically it
+involves releasing resources held by the instance, and disentangling it from
+any data structures it might be linked into.
 
 Teardown is performed by sending the instance the @|teardown| message,
 defined by the @|SodObject| class.  The message returns an integer, used as a