Skip to main content

push

Function push 

Source
pub fn push(recent: &mut Vec<String>, names: &[String])
Expand description

Moves names (most recent first) to the front of recent, keeping at most MAX.