diff options
author | Igor Moreno <igormoreno@gmail.com> | 2013-05-05 11:19:44 +0300 |
---|---|---|
committer | Igor Moreno <igormoreno@gmail.com> | 2013-05-05 11:19:44 +0300 |
commit | 7562499f7dfcf7b32c51a9091674a8cf5a1ef1b4 (patch) | |
tree | ade8cff95eaf2ed275834a987048b4987f57ab0c /src/library | |
parent | 00fcd46ed0ed3e981e241c8b5458ba821294c669 (diff) | |
download | scala-7562499f7dfcf7b32c51a9091674a8cf5a1ef1b4.tar.gz scala-7562499f7dfcf7b32c51a9091674a8cf5a1ef1b4.tar.bz2 scala-7562499f7dfcf7b32c51a9091674a8cf5a1ef1b4.zip |
Scaladoc: fixing small typo in PartialFunction.scala
Fixing a one-letter typo in the documentation of PartialFunction.scala (from "an plain" to "a plain").
Diffstat (limited to 'src/library')
-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. |