From bfe706716f7692f0a672a15a261ffffa25526cb1 Mon Sep 17 00:00:00 2001 From: gerero20 Date: Thu, 26 Mar 2020 11:25:22 -0700 Subject: [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. --- enumerator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'enumerator.c') 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) -- cgit v1.2.3