Convert tests to text-size

This commit is contained in:
Aleksey Kladov
2020-04-24 23:51:02 +02:00
parent b1d5817dd1
commit 8843588fca
376 changed files with 26489 additions and 26521 deletions

View File

@@ -187,10 +187,7 @@ fn contiguous_range_for_comment(
}
if first != last {
Some(TextRange::new(
first.syntax().text_range().start(),
last.syntax().text_range().end(),
))
Some(TextRange::new(first.syntax().text_range().start(), last.syntax().text_range().end()))
} else {
// The group consists of only one element, therefore it cannot be folded
None