Skip to content

Commit 193b92e

Browse files
rootroot
authored andcommitted
fix.
Signed-off-by: root <[email protected]>
1 parent da569a8 commit 193b92e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/env/default.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ impl WriteExt for LogFile {
278278
}
279279

280280
pub struct AioContext {
281-
pub(crate) aio_vec: Vec<aiocb>,
281+
aio_vec: Vec<aiocb>,
282282
pub(crate) buf_vec: Vec<Arc<Mutex<Vec<u8>>>>,
283283
}
284284
impl AioContext {
@@ -306,7 +306,7 @@ impl AsyncContext for AioContext {
306306
1 as i32,
307307
ptr::null::<libc::timespec>(),
308308
);
309-
if buf_len == aio_return(&mut self.aio_vec[seq]) as usize{
309+
if buf_len == aio_return(&mut self.aio_vec[seq]) as usize {
310310
return Ok(buf_len);
311311
}
312312
}

0 commit comments

Comments
 (0)