commit 4c8632e244fbf1213fb78f21417a2a5c6347cab3 (tree)
parent db0cb54f4ea023869d955449ba5e3eb86981d413
Author: Mathieu Guay-Paquet <mathieu.guaypaquet@gmail.com>
Date: Wed, 2 Dec 2020 11:28:29 -0500
fix the tinyest typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/fs.zig b/lib/std/fs.zig
@@ -694,7 +694,7 @@ pub const Dir = struct {
return self.openFileZ(&path_c, flags);
}
- /// Save as `openFile` but WASI only.
+ /// Same as `openFile` but WASI only.
pub fn openFileWasi(self: Dir, sub_path: []const u8, flags: File.OpenFlags) File.OpenError!File {
const w = os.wasi;
var fdflags: w.fdflags_t = 0x0;