pub trait CommentStringExt {
// Required method
fn comment_state_char_indices(&self) -> CommentStateCharIndices<'_> ⓘ;
// Provided methods
fn non_comment_chars(&self) -> NonCommentChars<'_> ⓘ { ... }
fn trim_comments(&self) -> String { ... }
}
Expand description
Helpers for iterating over comment containing strings