Skip to main content

owned_codes

Function owned_codes 

Source
fn owned_codes(
    w: &Codes,
    original: &[char],
    folded: &[char],
) -> Vec<(usize, usize)>
Expand description

“Your Instagram code”, “your Uber login code”, “votre code Instagram”: the owner, up to two words, “code”, and in French a name after it, written with a capital (“Instagram”, never “postal”); none of the words one that makes it no secret (Codes::not_yours), nothing but spaces between them. As (start, end): what must be followed by the code itself.