summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/List.scala
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2012-05-02 02:58:54 +0200
committerSimon Ochsenreither <simon@ochsenreither.de>2012-05-02 21:40:29 +0200
commit65b9fec4b1981c3e10c27cd41fd8cac054e7b05c (patch)
tree74860932f183c8f8f4c3d0981fabbcfc664bd588 /src/library/scala/collection/immutable/List.scala
parent90d2bee45b25844f809f8c5300aefcb1bfe9e336 (diff)
downloadscala-65b9fec4b1981c3e10c27cd41fd8cac054e7b05c.tar.gz
scala-65b9fec4b1981c3e10c27cd41fd8cac054e7b05c.tar.bz2
scala-65b9fec4b1981c3e10c27cd41fd8cac054e7b05c.zip
Fixes SI-4478.
- Replaced/simplified usages of "wrt". - Added backticks to $Coll definitions, so stuff like "immutable.Stack" hopefully stops being interpreted as the end of a sentence and shown like that in the summary line of ScalaDoc's method description. See collection.immutable.Stack's sortBy. Additionally, it looks nicer this way. - Fixes the typo mentioned in SI-5666.
Diffstat (limited to 'src/library/scala/collection/immutable/List.scala')
-rw-r--r--src/library/scala/collection/immutable/List.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/immutable/List.scala b/src/library/scala/collection/immutable/List.scala
index 1b75c10113..b4c22c3b6c 100644
--- a/src/library/scala/collection/immutable/List.scala
+++ b/src/library/scala/collection/immutable/List.scala
@@ -141,7 +141,7 @@ sealed abstract class List[+A] extends AbstractSeq[A]
/** Builds a new list by applying a function to all elements of this list.
* Like `xs map f`, but returns `xs` unchanged if function
- * `f` maps all elements to themselves (wrt eq).
+ * `f` maps all elements to themselves (as determined by `eq`).
*
* @param f the function to apply to each element.
* @tparam B the element type of the returned collection.
@@ -382,7 +382,7 @@ final case class ::[B](private var hd: B, private[scala] var tl: List[B]) extend
/** $factoryInfo
* @define coll list
- * @define Coll List
+ * @define Coll `List`
*/
object List extends SeqFactory[List] {