Function rustfmt_nightly::comment::left_trim_comment_line
source ยท fn left_trim_comment_line<'a>(
line: &'a str,
style: &CommentStyle<'_>,
) -> (&'a str, bool)
Expand description
Trims comment characters and possibly a single space from the left of a string. Does not trim all whitespace. If a single space is trimmed from the left of the string, this function returns true.