diff options
author | Michał Pociecha <michal.pociecha@gmail.com> | 2015-08-22 01:02:46 +0200 |
---|---|---|
committer | Michał Pociecha <michal.pociecha@gmail.com> | 2015-08-23 12:18:15 +0200 |
commit | 31ae74f2dd649bd67457492af6305b92a8ea9cf6 (patch) | |
tree | e15e154ff828e7ff80a16973605d0a6772a30d15 /spec/12-the-scala-standard-library.md | |
parent | f8a6d21a490090bac20b0753c46b91ca2b335049 (diff) | |
download | scala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.tar.gz scala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.tar.bz2 scala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.zip |
Fix typos in spec, docs and comments
Diffstat (limited to 'spec/12-the-scala-standard-library.md')
-rw-r--r-- | spec/12-the-scala-standard-library.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/12-the-scala-standard-library.md b/spec/12-the-scala-standard-library.md index e76035f458..8f65191312 100644 --- a/spec/12-the-scala-standard-library.md +++ b/spec/12-the-scala-standard-library.md @@ -171,7 +171,7 @@ Any numeric value type $T$ supports the following methods. evaluated by converting the receiver and its argument to their operation type and performing the given arithmetic operation of that type. - * Parameterless arithmethic methods identity (`+`) and negation + * Parameterless arithmetic methods identity (`+`) and negation (`-`), with result type $T$. The first of these returns the receiver unchanged, whereas the second returns its negation. * Conversion methods `toByte`, `toShort`, `toChar`, @@ -194,7 +194,7 @@ Integer numeric value types support in addition the following operations: operation of that type. * A parameterless bit-negation method (`~`). Its result type is - the reciver type $T$ or `Int`, whichever is larger. + the receiver type $T$ or `Int`, whichever is larger. The operation is evaluated by converting the receiver to the result type and negating every bit in its value. * Bit-shift methods left-shift (`<<`), arithmetic right-shift @@ -745,7 +745,7 @@ object Predef { def readf2(format: String) = Console.readf2(format) def readf3(format: String) = Console.readf3(format) - // Implict conversions ------------------------------------------------ + // Implicit conversions ------------------------------------------------ ... } |