Skip to main content

code_beside

Function code_beside 

Source
fn code_beside(
    w: &Codes,
    folded: &[char],
    found: &[Found],
    (start, end): (usize, usize),
    giving: bool,
) -> Option<String>
Expand description

The code next to a phrase: right after it, whatever its shape (“votre code est : 482 913”, “your sign-in code: K7Q-2M9”); else, for a phrase of Codes::code, digits further after it, or the nearest before it (“G-482913 is your Google verification code”).