Skip to content

Commit

Permalink
std.posix.WriteError: update AccessDenied docs
Browse files Browse the repository at this point in the history
It can happen on POSIX too.
  • Loading branch information
andrewrk committed Jan 21, 2025
1 parent e4d5706 commit 1110950
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/std/posix.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1110950

Please sign in to comment.