Skip to content

Commit

Permalink
Linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
john-sharratt committed May 23, 2024
1 parent 12e082d commit 2c6a3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasix/src/syscalls/wasi/poll_oneoff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ where
// Process the events
process_events(ctx, evts)
}
Err(Errno::Timedout) => process_events(&ctx, process_timeout(&ctx)),
Err(Errno::Timedout) => process_events(ctx, process_timeout(ctx)),
// If nonblocking the Errno::Again needs to be turned into an empty list
Err(Errno::Again) => process_events(ctx, Default::default()),
// Otherwise process the error
Expand Down

0 comments on commit 2c6a3a4

Please sign in to comment.