Skip to main content

index_out_of_bounds

Function index_out_of_bounds 

Source
pub fn index_out_of_bounds(index: impl Display) -> String
Expand description

The reason an index outside a sequence or a text stops a program: the index as the program wrote it (1-based, or negative from the end).