diff options
author | mpociecha <michal.pociecha@gmail.com> | 2014-12-13 16:57:54 +0100 |
---|---|---|
committer | mpociecha <michal.pociecha@gmail.com> | 2014-12-14 12:44:58 +0100 |
commit | 549dc880c5525e3a2f3ea6af35c7ae8a349b2bdc (patch) | |
tree | e3e40e3559e0f80f5dbed5b935937ab198d45e74 /src/manual | |
parent | d9f623db0ff1d20040939fbb9e15d4d4e5887c75 (diff) | |
download | scala-549dc880c5525e3a2f3ea6af35c7ae8a349b2bdc.tar.gz scala-549dc880c5525e3a2f3ea6af35c7ae8a349b2bdc.tar.bz2 scala-549dc880c5525e3a2f3ea6af35c7ae8a349b2bdc.zip |
Fix many typos in docs and comments
This commit corrects many typos found in scaladocs, comments and
documentation. It should reduce a bit number of PRs which fix one
typo.
There are no changes in the 'real' code except one corrected name of
a JUnit test method and some error messages in exceptions. In the case
of typos in other method or field names etc., I just skipped them.
Obviously this commit doesn't fix all existing typos. I just generated
in IntelliJ the list of potential typos and looked through it quickly.
Diffstat (limited to 'src/manual')
-rw-r--r-- | src/manual/scala/man1/Command.scala | 2 | ||||
-rw-r--r-- | src/manual/scala/man1/scalac.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/manual/scala/man1/Command.scala b/src/manual/scala/man1/Command.scala index 1cf55cb28d..8f811f950e 100644 --- a/src/manual/scala/man1/Command.scala +++ b/src/manual/scala/man1/Command.scala @@ -47,7 +47,7 @@ trait Command { def copyright = Section("COPYRIGHT", "This is open-source software, available to you under a BSD-like license. " & - "See accomponying \"copyright\" or \"LICENSE\" file for copying conditions. " & + "See accompanying \"copyright\" or \"LICENSE\" file for copying conditions. " & "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A " & "PARTICULAR PURPOSE.") diff --git a/src/manual/scala/man1/scalac.scala b/src/manual/scala/man1/scalac.scala index 31d25d4801..3954ed588e 100644 --- a/src/manual/scala/man1/scalac.scala +++ b/src/manual/scala/man1/scalac.scala @@ -360,7 +360,7 @@ object scalac extends Command { "ANF pre-transform for " & MItalic("@cps") & " (CPS plugin)"), Definition( MItalic("selectivecps"), - MItalic("@cps") & "-driven transform of selectiveanf assignements (CPS plugin)"), + MItalic("@cps") & "-driven transform of selectiveanf assignments (CPS plugin)"), Definition( MItalic("uncurry"), "uncurry, translate function values to anonymous classes"), |