diff options
author | Paul Phillips <paulp@improving.org> | 2013-05-11 12:06:57 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-05-11 12:06:57 -0700 |
commit | 0ae7e55209129dc3d76d56887e88b2c817e6b904 (patch) | |
tree | 0b8cc5242fce162c2a562902986aa0365cdf1d64 | |
parent | 616417b0b0e46a4bb4c80cbe6bf805bb22803afe (diff) | |
parent | 7562499f7dfcf7b32c51a9091674a8cf5a1ef1b4 (diff) | |
download | scala-0ae7e55209129dc3d76d56887e88b2c817e6b904.tar.gz scala-0ae7e55209129dc3d76d56887e88b2c817e6b904.tar.bz2 scala-0ae7e55209129dc3d76d56887e88b2c817e6b904.zip |
Merge pull request #2496 from igormoreno/2.10.x
Scaladoc: fixing small typo in PartialFunction.scala
-rw-r--r-- | src/library/scala/PartialFunction.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/PartialFunction.scala b/src/library/scala/PartialFunction.scala index 7ff5a33586..9ff648a05a 100644 --- a/src/library/scala/PartialFunction.scala +++ b/src/library/scala/PartialFunction.scala @@ -81,7 +81,7 @@ trait PartialFunction[-A, +B] extends (A => B) { self => override def andThen[C](k: B => C): PartialFunction[A, C] = new AndThen[A, B, C] (this, k) - /** Turns this partial function into an plain function returning an `Option` result. + /** Turns this partial function into a plain function returning an `Option` result. * @see Function.unlift * @return a function that takes an argument `x` to `Some(this(x))` if `this` * is defined for `x`, and to `None` otherwise. |