Skip to main content

get_proven_checked

Function get_proven_checked 

Source
pub fn get_proven_checked<T>(slice: &[T], index: usize) -> Option<&T>
Expand description

Checked version of get_proven with runtime assertions

This function performs runtime checks in debug builds to ensure the optimized implementation matches the reference implementation.