diff options
author | gerero20 <parrottjonathanc@gmail.com> | 2020-03-26 11:25:22 -0700 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-11 11:23:30 +0900 |
commit | bfe706716f7692f0a672a15a261ffffa25526cb1 (patch) | |
tree | 7eab131d103801fe7ae39ec7a1ff257b61613bff /enumerator.c | |
parent | abe2e7de4d1f2d5861d7c9ab9c7e778f2ee1dcd2 (diff) |
[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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2984
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 6 |
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) |