Closed som-snytt closed 1 year ago
Local build looks like
Standard build looks like
Local:
<span name="scala.collection.IterableOnceOps.to.C1" class="extype">C1</span></span></span><p class="shortcomment cmt">Given a collection factory <code>factory</code>, convert this collection to the appropriate
representation for the current element type <code>A</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Given a collection factory <code>factory</code>, convert this collection to the appropriate
representation for the current element type <code>A</code>. Example uses:</p><pre>xs.to(<span class="std">List</span>)
xs.to(ArrayBuffer)
xs.to(BitSet) <span class="cmt">// for xs: Iterable[Int]</span></pre></div><dl class="attributes block"><dt>Definition Classes</dt><dd>
Online:
<span name="scala.collection.IterableOnceOps.to.C1" class="extype" title="scala.collection.IterableOnceOps.to.C1">C1</span></span></span><p class="shortcomment cmt" style="display: none;">Given a collection factory <code>factory</code>, convert this collection to the appropriate
representation for the current element type <code>A</code>.</p><div class="fullcomment" style="display: block;"><div class="comment cmt"><p>Given a collection factory <code>factory</code>, convert this collection to the appropriate
representation for the current element type <code>A</code>. Example uses:</p><p> xs.to(List)
xs.to(ArrayBuffer)
xs.to(BitSet) // for xs: Iterable[Int]
</p></div><dl class="attributes block"><dt>Definition Classes</dt><dd>
Maybe it's just the way the release build is run.
Not sure what happened, but the 2.13.11 doc seems fixed.
Reproduction steps
Scala version: 2.13.10
https://www.scala-lang.org/api/current/scala/collection/immutable/List.html#to[C1](factory:scala.collection.Factory[A,C1]):C1
Problem
Example code is not formatted.