Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Scaladoc: fixing small typo in PartialFunction.scala

Fixing a one-letter typo in the documentation of PartialFunction.scala (from "an plain" to "a plain").
  • Loading branch information...
commit 7562499f7dfcf7b32c51a9091674a8cf5a1ef1b4 1 parent 00fcd46
@igormoreno igormoreno authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/library/scala/PartialFunction.scala
View
2  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.
Please sign in to comment.
Something went wrong with that request. Please try again.