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 36281b3 commit b894420Copy full SHA for b894420
compiler/src/dotty/tools/dotc/util/ParsedComment.scala
@@ -148,7 +148,7 @@ object ParsedComment {
148
* @return The list of items, in markdown.
149
*/
150
private def toMarkdownList(ctx: Context, items: List[String]): String = {
151
- val formattedItems = items.map(_.lines.mkString(System.lineSeparator + " "))
+ val formattedItems = items.map(_.linesIterator.mkString(System.lineSeparator + " "))
152
formattedItems.mkString(" - ", System.lineSeparator + " - ", "")
153
}
154
0 commit comments