Skip to main content

find_inline_comment_start

Function find_inline_comment_start 

Source
pub fn find_inline_comment_start(line: &str) -> Option<usize>
Expand description

Find the char offset of an inline comment on a rule line. An inline comment starts with # that is preceded by whitespace.