summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanek Bogucki <janekdb@gmail.com>2015-08-19 08:50:12 +0100
committerJanek Bogucki <janekdb@gmail.com>2015-08-19 08:50:12 +0100
commitd978442e5d57d934cb0cfe52daf620a4c11a192b (patch)
tree47f12f6f0f75153e67ddd07e6d1d9b5f892fd302
parentee291bdce9be7d5bfcb779156b40e80c5653d099 (diff)
downloadscala-d978442e5d57d934cb0cfe52daf620a4c11a192b.tar.gz
scala-d978442e5d57d934cb0cfe52daf620a4c11a192b.tar.bz2
scala-d978442e5d57d934cb0cfe52daf620a4c11a192b.zip
Fix method name reference in Predef documentation
-rw-r--r--src/library/scala/Predef.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala
index cef62922ac..94cb331ce1 100644
--- a/src/library/scala/Predef.scala
+++ b/src/library/scala/Predef.scala
@@ -56,7 +56,7 @@ import scala.io.StdIn
* only contain natural numbers (i.e. non-negative), and that the result returned
* will also be natural. `require` is distinct from `assert` in that if the
* condition fails, then the caller of the function is to blame rather than a
- * logical error having been made within `addNaturals` itself. `ensures` is a
+ * logical error having been made within `addNaturals` itself. `ensuring` is a
* form of `assert` that declares the guarantee the function is providing with
* regards to its return value.
*