refactor(spv-out): linkify docs. ref. to write_bounds_check

This commit is contained in:
Erich Gubler 2024-10-02 22:16:53 -04:00
parent 215f0fc887
commit 3d584f99ed

View File

@ -11,9 +11,9 @@ use crate::{arena::Handle, proc::BoundsCheckPolicy};
/// The results of performing a bounds check. /// The results of performing a bounds check.
/// ///
/// On success, `write_bounds_check` returns a value of this type. The /// On success, [`write_bounds_check`](BlockContext::write_bounds_check)
/// caller can assume that the right policy has been applied, and /// returns a value of this type. The caller can assume that the right
/// simply do what the variant says. /// policy has been applied, and simply do what the variant says.
pub(super) enum BoundsCheckResult { pub(super) enum BoundsCheckResult {
/// The index is statically known and in bounds, with the given value. /// The index is statically known and in bounds, with the given value.
KnownInBounds(u32), KnownInBounds(u32),