summaryrefslogtreecommitdiff
path: root/src/library/scala/math
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-01-25 08:33:35 -0800
committerPaul Phillips <paulp@improving.org>2013-01-25 08:34:57 -0800
commitd82c9301f3486878652eeca05fa1e5c58d8fc82a (patch)
treeafb7ce4480d9ba6bf1f4155097107219fb2109d0 /src/library/scala/math
parent634245c1affaf974fbb66c01487ef3e9e8b2212e (diff)
parenta01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f (diff)
downloadscala-d82c9301f3486878652eeca05fa1e5c58d8fc82a.tar.gz
scala-d82c9301f3486878652eeca05fa1e5c58d8fc82a.tar.bz2
scala-d82c9301f3486878652eeca05fa1e5c58d8fc82a.zip
Merge pull request #1965 from Dinduks/fix_some_typos
Fix some typos
Diffstat (limited to 'src/library/scala/math')
-rw-r--r--src/library/scala/math/BigInt.scala2
-rw-r--r--src/library/scala/math/Ordering.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/math/BigInt.scala b/src/library/scala/math/BigInt.scala
index 02c591965d..8f86fd5aa7 100644
--- a/src/library/scala/math/BigInt.scala
+++ b/src/library/scala/math/BigInt.scala
@@ -355,7 +355,7 @@ class BigInt(val bigInteger: BigInteger) extends ScalaNumber with ScalaNumericCo
def charValue = intValue.toChar
/** Converts this BigInt to an <tt>int</tt>.
- * If the BigInt is too big to fit in a int, only the low-order 32 bits
+ * If the BigInt is too big to fit in an int, only the low-order 32 bits
* are returned. Note that this conversion can lose information about the
* overall magnitude of the BigInt value as well as return a result with
* the opposite sign.
diff --git a/src/library/scala/math/Ordering.scala b/src/library/scala/math/Ordering.scala
index e9b92541c2..aea512a541 100644
--- a/src/library/scala/math/Ordering.scala
+++ b/src/library/scala/math/Ordering.scala
@@ -33,7 +33,7 @@ import scala.language.{implicitConversions, higherKinds}
* }}}
*
* An Ordering[T] is implemented by specifying compare(a:T, b:T), which
- * decides how to order to instances a and b. Instances of Ordering[T] can be
+ * decides how to order two instances a and b. Instances of Ordering[T] can be
* used by things like scala.util.Sorting to sort collections like Array[T].
*
* For example: