Skip to main content

trailing_comment_start_offset

Function trailing_comment_start_offset 

Source
pub fn trailing_comment_start_offset<T>(
    located: &T,
    source: &str,
) -> Option<TextSize>
where T: Ranged,
Expand description

If a Ranged has a trailing comment, return the index of the hash.