summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-02-25 00:49:39 +0100
committerJason Zaugg <jzaugg@gmail.com>2013-02-25 01:48:56 +0100
commit6d94b35270485a5ec64f32035537c3c4c0f02dae (patch)
treee603e0973d635354edc8d44e2c07b757817abfd0 /src/library
parent256e46824636881f067ea0d312b5cbcdffbcf233 (diff)
downloadscala-6d94b35270485a5ec64f32035537c3c4c0f02dae.tar.gz
scala-6d94b35270485a5ec64f32035537c3c4c0f02dae.tar.bz2
scala-6d94b35270485a5ec64f32035537c3c4c0f02dae.zip
Modernize legacy backquotes in comments.
Was: ``blah'' Now: `blah`
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/util/Either.scala4
-rw-r--r--src/library/scala/util/parsing/input/Position.scala4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/util/Either.scala b/src/library/scala/util/Either.scala
index 864d8953c4..5cd35ab6d9 100644
--- a/src/library/scala/util/Either.scala
+++ b/src/library/scala/util/Either.scala
@@ -21,7 +21,7 @@ import scala.language.implicitConversions
* [[scala.util.Right]] takes the place of [[scala.Some]]. Convention dictates
* that Left is used for failure and Right is used for success.
*
- * For example, you could use ``Either[String, Int]`` to detect whether a
+ * For example, you could use `Either[String, Int]` to detect whether a
* received input is a String or an Int.
*
* {{{
@@ -205,7 +205,7 @@ final case class Right[+A, +B](b: B) extends Either[A, B] {
object Either {
/**
- * Allows use of a ``merge`` method to extract values from Either instances
+ * Allows use of a `merge` method to extract values from Either instances
* regardless of whether they are Left or Right.
*
* {{{
diff --git a/src/library/scala/util/parsing/input/Position.scala b/src/library/scala/util/parsing/input/Position.scala
index 31715bd8da..5e0cbbff5e 100644
--- a/src/library/scala/util/parsing/input/Position.scala
+++ b/src/library/scala/util/parsing/input/Position.scala
@@ -8,13 +8,13 @@
package scala.util.parsing.input
-/** `Position` is the base trait for objects describing a position in a ``document''.
+/** `Position` is the base trait for objects describing a position in a `document`.
*
* It provides functionality for:
* - generating a visual representation of this position (`longString`);
* - comparing two positions (`<`).
*
- * To use this class for a concrete kind of ``document'', implement the `lineContents` method.
+ * To use this class for a concrete kind of `document`, implement the `lineContents` method.
*
* @author Martin Odersky
* @author Adriaan Moors