]> gitweb.factorcode.org Git - factor.git/blobdiff - core/destructors/destructors-docs.factor
help.markup: adding a $slots word to document slots, use it.
[factor.git] / core / destructors / destructors-docs.factor
index 700f7bdccbe8bdd7c922b459e6e31b4a2615f8c4..8271fcbd2020f363ca32d5c71a162ffd89b63108 100644 (file)
@@ -7,9 +7,9 @@ HELP: debug-leaks?
 
 HELP: disposable
 { $class-description "Parent class for disposable resources. This class has two slots:"
-    { $list
-        { { $slot "disposed" } " - boolean. Set to true by " { $link dispose } ". Assert that it is false with " { $link check-disposed } "." }
-        { { $slot "continuation" } " - current continuation at construction time, for debugging. Set by " { $link new-disposable } " if " { $link debug-leaks? } " is on." }
+    { $slots
+        { "disposed" { "A boolean value, set to true by " { $link dispose } ". Assert that it is false with " { $link check-disposed } "." } }
+        { "continuation" { "The current continuation at construction time, for debugging. Set by " { $link new-disposable } " if " { $link debug-leaks? } " is on." } }
     }
 "New instances must be constructed with " { $link new-disposable } " and subclasses must implement " { $link dispose* } "." } ;