diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-03-14 10:32:49 -0700 |
---|---|---|
committer | Dongjoon Hyun <dongjoon@apache.org> | 2016-03-15 16:20:43 -0700 |
commit | 910a18ed14dd81150f008e785f8773bf997eb1f6 (patch) | |
tree | 655ea6d2b42e00ccd866435ed01d9dd91407dca6 /src/library | |
parent | 99a82be91cbb85239f70508f6695c6b21fd3558c (diff) | |
download | scala-910a18ed14dd81150f008e785f8773bf997eb1f6.tar.gz scala-910a18ed14dd81150f008e785f8773bf997eb1f6.tar.bz2 scala-910a18ed14dd81150f008e785f8773bf997eb1f6.zip |
Fix some typos in `spec` documents and comments.
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/concurrent/impl/Promise.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/concurrent/impl/Promise.scala b/src/library/scala/concurrent/impl/Promise.scala index 178cd6d912..626540425f 100644 --- a/src/library/scala/concurrent/impl/Promise.scala +++ b/src/library/scala/concurrent/impl/Promise.scala @@ -304,7 +304,7 @@ private[concurrent] object Promise { /** Tries to add the callback, if already completed, it dispatches the callback to be executed. * Used by `onComplete()` to add callbacks to a promise and by `link()` to transfer callbacks - * to the root promise when linking two promises togehter. + * to the root promise when linking two promises together. */ @tailrec private def dispatchOrAddCallback(runnable: CallbackRunnable[T]): Unit = { |