summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2015-08-19 22:08:20 -0400
committerSeth Tisue <seth@tisue.net>2015-08-19 22:08:20 -0400
commit38d854cc12ac40f9660282206163b0736988c8cc (patch)
tree47f12f6f0f75153e67ddd07e6d1d9b5f892fd302
parentee291bdce9be7d5bfcb779156b40e80c5653d099 (diff)
parentd978442e5d57d934cb0cfe52daf620a4c11a192b (diff)
downloadscala-38d854cc12ac40f9660282206163b0736988c8cc.tar.gz
scala-38d854cc12ac40f9660282206163b0736988c8cc.tar.bz2
scala-38d854cc12ac40f9660282206163b0736988c8cc.zip
Merge pull request #4695 from janekdb/2.11.x-scaladoc-Predef
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.
*