We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1340fc4 commit c7c57f8Copy full SHA for c7c57f8
src/lists.rs
@@ -637,7 +637,7 @@ pub(crate) fn extract_post_comment(
637
post_snippet.trim_matches(white_space)
638
}
639
// not comment or over two lines
640
- else if post_snippet.ends_with(',')
+ else if post_snippet.ends_with(separator)
641
&& (!post_snippet.trim().starts_with("//") || post_snippet.trim().contains('\n'))
642
{
643
post_snippet[..(post_snippet.len() - 1)].trim_matches(white_space)
0 commit comments