-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more accessors for AioCb #773
Conversation
4cf2370
to
8a17a5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good aside from my two comments.
src/sys/aio.rs
Outdated
|
||
/// Returns the desired length of the aio operation in bytes | ||
/// | ||
/// If the operation has completed, this does *not* return the completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we embed this into the type system somehow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but I could probably word it better.
test/sys/test_aio.rs
Outdated
assert_eq!(99, sev.sigev_value.sival_ptr as i64); | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop this extra newline.
I'm going to consider @Susurrus's statement as a conditional approval. I fixed the newline and updated the description of bors r+ susurrus |
No description provided.