Skip to content

Commit

Permalink
Fix some intradocs links
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed Jul 21, 2024
1 parent c1db546 commit 85138f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,15 +518,15 @@ impl SubmissionQueue {
self._add(submit, QueuedOperation::new)
}

/// Same as [`add`] but uses a multishot `QueuedOperation`.
/// Same as [`SubmissionQueue::add`] but uses a multishot `QueuedOperation`.
fn add_multishot<F>(&self, submit: F) -> Result<OpIndex, QueueFull>
where
F: FnOnce(&mut Submission),
{
self._add(submit, QueuedOperation::new_multishot)
}

/// See [`add`] or [`add_multishot`].
/// See [`SubmissionQueue::add`] or [`SubmissionQueue::add_multishot`].
fn _add<F, O>(&self, submit: F, new_op: O) -> Result<OpIndex, QueueFull>
where
F: FnOnce(&mut Submission),
Expand Down Expand Up @@ -567,7 +567,7 @@ impl SubmissionQueue {
self._queue(QueuedOperation::new_multishot)
}

/// See [`queue_multishot`].
/// See [`SubmissionQueue::queue_multishot`].
fn _queue<O>(&self, new_op: O) -> Result<OpIndex, QueueFull>
where
O: FnOnce() -> QueuedOperation,
Expand Down

0 comments on commit 85138f5

Please sign in to comment.