match_close_paren

Function match_close_paren 

Source
pub(crate) fn match_close_paren(bytes: &[u8], open: usize) -> Option<usize>
Expand description

Find the matching ) for the ( at open. Returns the byte offset of the closer or None if unbalanced.