Commit 1110950528

Andrew Kelley <andrew@ziglang.org>
2025-01-21 06:08:44
std.posix.WriteError: update AccessDenied docs
It can happen on POSIX too.
1 parent e4d5706
Changed files (1)
lib
lib/std/posix.zig
@@ -1169,8 +1169,7 @@ pub const WriteError = error{
     DeviceBusy,
     InvalidArgument,
 
-    /// In WASI, this error may occur when the file descriptor does
-    /// not hold the required rights to write to it.
+    /// File descriptor does not hold the required rights to write to it.
     AccessDenied,
     BrokenPipe,
     SystemResources,