]> gitweb.factorcode.org Git - factor.git/commitdiff
destructors: fix docs typo reported by Blei in #concatenative
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 13 Jun 2009 22:36:47 +0000 (17:36 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 13 Jun 2009 22:36:47 +0000 (17:36 -0500)
core/destructors/destructors-docs.factor

index 536ee19c8b6377a3892cb9fb228c6f3021c5138e..1966f0b69f6e556c27121186dd2de19e5896b3f8 100644 (file)
@@ -11,7 +11,7 @@ $nl
 "Disposing an object which has already been disposed should have no effect, and in particular it should not fail with an error. To help implement this pattern, add a " { $snippet "disposed" } " slot to your object and implement the " { $link dispose* } " method instead." }
 { $notes "You must close disposable objects after you are finished working with them, to avoid leaking operating system resources. A convenient way to automate this is by using the " { $link with-disposal } " word."
 $nl
-"The default implementation assumes the object has a " { $snippet "disposable" } " slot. If the slot is set to " { $link f } ", it calls " { $link dispose* } " and sets the slot to " { $link f } "." } ;
+"The default implementation assumes the object has a " { $snippet "disposable" } " slot. If the slot is set to " { $link f } ", it calls " { $link dispose* } " and sets the slot to " { $link t } "." } ;
 
 HELP: dispose*
 { $values { "disposable" "a disposable object" } }