outOfBounds
Function parameters
Parameters
- index:usize
- len:usize
Prints the message to stderr without a newline and then traps.
Functions
- call
- Prints the message to stderr without a newline and then traps.
Source
Implementation
pub fn outOfBounds(index: usize, len: usize) noreturn {
_ = index;
_ = len;
call("index out of bounds", null);
}