Skip to content

Commit

Permalink
refactor(spv-out): linkify docs. ref. to write_bounds_check
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Oct 3, 2024
1 parent 215f0fc commit 3d584f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions naga/src/back/spv/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ use crate::{arena::Handle, proc::BoundsCheckPolicy};

/// The results of performing a bounds check.
///
/// On success, `write_bounds_check` returns a value of this type. The
/// caller can assume that the right policy has been applied, and
/// simply do what the variant says.
/// On success, [`write_bounds_check`](BlockContext::write_bounds_check)
/// returns a value of this type. The caller can assume that the right
/// policy has been applied, and simply do what the variant says.
pub(super) enum BoundsCheckResult {
/// The index is statically known and in bounds, with the given value.
KnownInBounds(u32),
Expand Down

0 comments on commit 3d584f9

Please sign in to comment.