Skip to main content

comment_is_legacy

Function comment_is_legacy 

Source
pub fn comment_is_legacy(source: &str, span: Span) -> bool
Expand description

#2203: whether a TokenKind::Comment token is spelled the legacy way, --, rather than //.