Skip to content

Conversation

@rphmeier
Copy link
Contributor

Should close #878

Copy link
Contributor Author

rphmeier commented Jun 14, 2025


/// Check whether the current device has permission to use io_uring.
///
/// On non-Linux platforms, this will always return `NotSupported`.`
Copy link

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`.
Suggested change
/// 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.

@rphmeier rphmeier force-pushed the rh-check-iou-perm branch from 5608641 to eddeda3 Compare June 14, 2025 18:50
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`.`
Copy link

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.

Suggested change
/// 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.

@rphmeier rphmeier force-pushed the rh-check-iou-perm branch from eddeda3 to c9a226f Compare June 17, 2025 12:27
Copy link
Contributor Author

rphmeier commented Jun 17, 2025

Merge activity

  • Jun 17, 12:28 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 17, 12:32 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jun 17, 12:34 PM UTC: @rphmeier merged this pull request with Graphite.

Comment on lines +214 to +215
/// It is recommended to check io_uring permissions before calling this function by calling
/// [`check_iou_permissions`]
Copy link

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.

Suggested change
/// 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.

@rphmeier rphmeier changed the base branch from rh-path-proof-must-use to graphite-base/916 June 17, 2025 12:29
@rphmeier rphmeier changed the base branch from graphite-base/916 to master June 17, 2025 12:31
@rphmeier rphmeier force-pushed the rh-check-iou-perm branch from c9a226f to b9cf8a2 Compare June 17, 2025 12:32
@rphmeier rphmeier merged commit 33009a5 into master Jun 17, 2025
1 check passed
@rphmeier rphmeier deleted the rh-check-iou-perm branch June 17, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check for io_uring permissions on Nomt initialization

2 participants