rustc_parse::lexer::unicode_chars

Function peek_delimited

source
fn peek_delimited(text: &str, from_ch: char, to_ch: char) -> Option<&str>
Expand description

Extract string if found at current position with given delimiters