fn lookup_unassigned<'a>(
    codepoint: u32,
    defaults: &[(u32, u32, &'a str)],
) -> Option<&'a str> {
    defaults
        .iter()
        .find(|&&(start, end, _)| start <= codepoint && codepoint <= end)
        .map(|&(_, _, bidi_class)| bidi_class)
}
/// Look up a code point in the unassigned default Bidi classes.
Look up a code point in the unassigned default Bidi classes.
Look up a code point in the unassigned default Bidi classes .
fn lookup_unassigned<'a>(
    codepoint: u32,
    defaults: &[(u32, u32, &'a str)],
) -> Option<&'a str> {
    defaults
        .iter()
        .find(|&&(start, end, _)| start <= codepoint && codepoint <= end)
        .map(|&(_, _, bidi_class)| bidi_class)
}
fn lookup_unassigned < ' a > ( codepoint : u32 , defaults : & [ ( u32 , u32 , & ' a str ) ] , ) -> Option < & ' a str > { defaults . iter ( ) . find ( | & & ( start , end , _ ) | start <= codepoint && codepoint <= end ) . map ( | & ( _ , _ , bidi_class ) | bidi_class ) }
Look up a code point in the unassigned default Bidi classes.
Look up a code point in the unassigned default Bidi classes .
codepoint
u32
defaults
&[(u32, u32, &'a str)]
codepoint
u32
defaults
&[(u32, u32, &'a str)]