use crate::errors::RunError; pub fn dup(memory: &mut Vec) { memory.push(*memory.last().expect(&format!("{}", RunError::MemoryEmpty))); }