aboutsummaryrefslogtreecommitdiffstats
path: root/enumerator.c
diff options
context:
space:
mode:
authorgerero20 <parrottjonathanc@gmail.com>2020-03-26 11:25:22 -0700
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-11 11:23:30 +0900
commitbfe706716f7692f0a672a15a261ffffa25526cb1 (patch)
tree7eab131d103801fe7ae39ec7a1ff257b61613bff /enumerator.c
parentabe2e7de4d1f2d5861d7c9ab9c7e778f2ee1dcd2 (diff)
downloadruby-bfe706716f7692f0a672a15a261ffffa25526cb1.tar.gz
[ci skip] Enumerator doc cleanup
This is my first attempt at a pull request. I was reading the ruby docs the other day and noticed that the output didn't match the code sample on the with_object documentation. Inserted spaces to fix it.
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/enumerator.c b/enumerator.c
index 1a1fd14536..9632b02698 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -722,9 +722,9 @@ enumerator_with_object_i(RB_BLOCK_CALL_FUNC_ARGLIST(val, memo))
* puts "#{string}: #{x}"
* end
*
- * # => foo:0
- * # => foo:1
- * # => foo:2
+ * # => foo: 0
+ * # => foo: 1
+ * # => foo: 2
*/
static VALUE
enumerator_with_object(VALUE obj, VALUE memo)