summaryrefslogtreecommitdiff
path: root/src/library/scala/PartialFunction.scala
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-07-09 02:11:32 +0000
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-07-09 02:11:32 +0000
commitf0169872c9453ab6c50c008b8426d3bca7d1c178 (patch)
treebceb7623d7a3b4c863fec42c6326cc7b98f69d4e /src/library/scala/PartialFunction.scala
parent4a862eac9d4b6080e497ee49a974a35fba7d0c11 (diff)
downloadscala-f0169872c9453ab6c50c008b8426d3bca7d1c178.tar.gz
scala-f0169872c9453ab6c50c008b8426d3bca7d1c178.tar.bz2
scala-f0169872c9453ab6c50c008b8426d3bca7d1c178.zip
Fixes some remaining formatting issues.
Diffstat (limited to 'src/library/scala/PartialFunction.scala')
-rw-r--r--src/library/scala/PartialFunction.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/PartialFunction.scala b/src/library/scala/PartialFunction.scala
index c4af0f01e4..3e6c363acc 100644
--- a/src/library/scala/PartialFunction.scala
+++ b/src/library/scala/PartialFunction.scala
@@ -97,10 +97,10 @@ object PartialFunction
def cond[T](x: T)(pf: PartialFunction[T, Boolean]): Boolean =
(pf isDefinedAt x) && pf(x)
- /** Transforms a PartialFunction[T, U] `pf' into Function1[T, Option[U]] `f'
+ /** Transforms a PartialFunction[T, U] `pf` into Function1[T, Option[U]] `f`
* whose result is Some(x) if the argument is in pf's domain and None otherwise,
- * and applies it to the value `x'. In effect, it is a 'match' statement
- * which wraps all case results in Some(_) and adds 'case _ => None' to the end.
+ * and applies it to the value `x`. In effect, it is a `match` statement
+ * which wraps all case results in Some(_) and adds `case _ => None` to the end.
*
* @param x the value to test
* @param pf the PartialFunction[T, U]