-
Notifications
You must be signed in to change notification settings - Fork 29
Add a utility function for checking io_uring permissions #916
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
nomt/src/io/mod.rs
Outdated
|
|
||
| /// Check whether the current device has permission to use io_uring. | ||
| /// | ||
| /// On non-Linux platforms, this will always return `NotSupported`.` |
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.
There's an extra backtick character at the end of this line. It should be:
/// On non-Linux platforms, this will always return `NotSupported`.
| /// On non-Linux platforms, this will always return `NotSupported`.` | |
| /// On non-Linux platforms, this will always return `NotSupported`. |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
5608641 to
eddeda3
Compare
nomt/src/lib.rs
Outdated
|
|
||
| /// Check whether the current device has permission to use io_uring. | ||
| /// | ||
| /// On non-Linux platforms, this will always return `NotSupported`.` |
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.
There's an extra backtick character at the end of this documentation line. The line should be:
/// On non-Linux platforms, this will always return `NotSupported`.
without the trailing backtick.
| /// On non-Linux platforms, this will always return `NotSupported`.` | |
| /// On non-Linux platforms, this will always return `NotSupported`. |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
eddeda3 to
c9a226f
Compare
| /// It is recommended to check io_uring permissions before calling this function by calling | ||
| /// [`check_iou_permissions`] |
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.
The documentation link to check_iou_permissions needs a full path to work correctly. Please update it to [crate::check_iou_permissions] to ensure proper linking in the generated documentation.
| /// It is recommended to check io_uring permissions before calling this function by calling | |
| /// [`check_iou_permissions`] | |
| /// It is recommended to check io_uring permissions before calling this function by calling | |
| /// [`crate::check_iou_permissions`] |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
c9a226f to
b9cf8a2
Compare

Should close #878