]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/files/windows/windows-docs.factor
Docs: fixed doc example errors triggered by help-lint and added with-disposal where...
[factor.git] / basis / io / files / windows / windows-docs.factor
index d9b3e16a8ba720864ce5404265ead7a8c81fd05e..099efaa07cb79b834c4d42f31c6ebfd3283ee452 100644 (file)
@@ -5,8 +5,8 @@ HELP: open-read
 { $values { "path" "a filesystem path" } { "win32-file" "a win32 file-handle" } }
 { $description "Opens a file for reading and returns a filehandle to it." }
 { $examples
-  { $example
-    "USING: io.files.windows ;"
+  { $unchecked-example
+    "USING: io.files.windows prettyprint ;"
     "\"resource:core/kernel/kernel.factor\" absolute-path open-read ."
     "T{ win32-file { handle ALIEN: 234 } { ptr 0 } }"
   }