commit aa5ed47e8a297b7f8d99106628f5b0dc257da1ef
parent dcd1121a25a585a05b3bd993c84a3ed5e851fc3f
Author: Alexey Yerin <yyp@disroot.org>
Date: Thu, 21 Apr 2022 22:50:59 +0300
io: replace stream type with vtable in the docs
Signed-off-by: Alexey Yerin <yyp@disroot.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/io/stream.ha b/io/stream.ha
@@ -13,7 +13,7 @@ export type stream = *vtable;
// create a custom stream type, embed
//
// export type my_stream = struct {
-// vtable: io::stream,
+// vtable: io::vtable,
// fd: int,
// };
//