pub fn previous(n: usize, i: usize) -> usize
Expand description

Computes previous modular index safely.