Use ListItem::has_comment

This commit is contained in:
Shotaro Yamada 2018-04-01 21:43:01 +09:00
parent ba792a7fa2
commit 3467b4dafe

View File

@ -405,7 +405,7 @@ fn count_wildcard_suffix_len(
}) {
suffix_len += 1;
if item.pre_comment.is_some() || item.post_comment.is_some() {
if item.has_comment() {
break;
}
}