Skip to main content

comment_start

Function comment_start 

pub fn comment_start(raw: &str) -> Option<usize>
Expand description

Byte offset of the first // outside a string literal: the start of a trailing comment, which runs to the end of the line.