summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorTomás Coêlho <36938811+tomascco@users.noreply.github.com>2020-11-16 14:30:48 -0300
committerMarc-André Lafortune <github@marc-andre.ca>2020-11-16 12:38:10 -0500
commit1ee8d4b0ac5f9512fc507ae4fb861c60faaadaf6 (patch)
tree4cef286d89bbee9bfec483e55a6ad89029eef93d /proc.c
parent0f37f384d40fda88111d6a8a573da09423543549 (diff)
Fix typo on Proc docs
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3772
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 1ac07b10a4..ca70eb1a0a 100644
--- a/proc.c
+++ b/proc.c
@@ -3919,7 +3919,7 @@ proc_ruby2_keywords(VALUE procval)
* == Conversion of other objects to procs
*
* Any object that implements the +to_proc+ method can be converted into
- * a proc by the <code>&</code> operator, and therefore con be
+ * a proc by the <code>&</code> operator, and therefore can be
* consumed by iterators.
*