diff options
Diffstat (limited to 'test/sys/test_aio.rs')
-rw-r--r-- | test/sys/test_aio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_aio.rs b/test/sys/test_aio.rs index 67fd0850..b74e3f63 100644 --- a/test/sys/test_aio.rs +++ b/test/sys/test_aio.rs @@ -13,7 +13,7 @@ use std::{thread, time}; use tempfile::tempfile; // Helper that polls an AioCb for completion or error -fn poll_aio(mut aiocb: &mut AioCb) -> Result<()> { +fn poll_aio(aiocb: &mut AioCb) -> Result<()> { loop { let err = aiocb.error(); if err != Err(Error::from(Errno::EINPROGRESS)) { return err; }; |