use fastrand; use crate::RunError; pub fn random(memory: &mut Vec) { let data = &memory.pop().expect(&format!("{}", RunError::MemoryEmpty)); memory.push(fastrand::u16(..) % (*data - 1)); }