]> gitweb.factorcode.org Git - factor.git/commitdiff
io.streams-docs: fix some copy-paste errors
authorAlexander Iljin <ajsoft@yandex.ru>
Wed, 25 May 2016 08:38:28 +0000 (11:38 +0300)
committerAlexander Iljin <ajsoft@yandex.ru>
Wed, 25 May 2016 08:38:28 +0000 (11:38 +0300)
core/io/io-docs.factor

index e3fad5409d1491b39e5367ea95f5479cb669ecf8..a8fd0016d5599ae74c9470903b46104c82ae3c8c 100644 (file)
@@ -264,12 +264,12 @@ HELP: with-output-stream
 
 HELP: with-streams
 { $values { "input" "an input stream" } { "output" "an output stream" } { "quot" quotation } }
-{ $description "Calls the quotation in a new dynamic scope, with " { $link input-stream } " rebound to " { $snippet "input" } " and " { $link output-stream } " rebound to " { $snippet "output" } ". The stream is closed if the quotation returns or throws an error." } ;
+{ $description "Calls the quotation in a new dynamic scope, with " { $link input-stream } " rebound to " { $snippet "input" } " and " { $link output-stream } " rebound to " { $snippet "output" } ". The streams are closed if the quotation returns or throws an error." } ;
 
 HELP: with-streams*
 { $values { "input" "an input stream" } { "output" "an output stream" } { "quot" quotation } }
 { $description "Calls the quotation in a new dynamic scope, with " { $link input-stream } " rebound to " { $snippet "input" } " and " { $link output-stream } " rebound to " { $snippet "output" } "." }
-{ $notes "This word does not close the stream. Compare with " { $link with-streams } "." } ;
+{ $notes "This word does not close the streams. Compare with " { $link with-streams } "." } ;
 
 { with-input-stream with-input-stream* } related-words