pub fn completing(typed: &str, used: &[Used], max: usize) -> Vec<Completion>Expand description
The emoji offered for typed, the start of a short code or some of
one, max at the most: those with a short code it is in, the one it
is the whole of first, then those it starts, then the rest; and among
those the ones used most, then the ones with the shortest code.