Unverified Commit 9c31f9f4 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

remove unnecessary ..toList() (#35263)

parent 3badcf51
......@@ -396,9 +396,7 @@ class SampleChecker {
if (preambleSections.isEmpty) {
sections.add(processed);
} else {
sections.add(Section.combine(preambleSections
..toList()
..add(processed)));
sections.add(Section.combine(preambleSections..add(processed)));
}
block.clear();
} else if (trimmedLine == _dartDocPrefix) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment