@@ -1796,7 +1796,8 @@ lazy_initialize(int argc, VALUE *argv, VALUE self)
17961796 * Expands +lazy+ enumerator to an array.
17971797 * See Enumerable#to_a.
17981798 */
1799- static VALUE lazy_to_a (VALUE self )
1799+ static VALUE
1800+ lazy_to_a (VALUE self )
18001801{
18011802}
18021803#endif
@@ -2753,7 +2754,8 @@ lazy_with_index(int argc, VALUE *argv, VALUE obj)
27532754 *
27542755 * Like Enumerable#chunk, but chains operation to be lazy-evaluated.
27552756 */
2756- static VALUE lazy_chunk (VALUE self )
2757+ static VALUE
2758+ lazy_chunk (VALUE self )
27572759{
27582760}
27592761
@@ -2763,7 +2765,8 @@ static VALUE lazy_chunk(VALUE self)
27632765 *
27642766 * Like Enumerable#chunk_while, but chains operation to be lazy-evaluated.
27652767 */
2766- static VALUE lazy_chunk_while (VALUE self )
2768+ static VALUE
2769+ lazy_chunk_while (VALUE self )
27672770{
27682771}
27692772
@@ -2774,7 +2777,8 @@ static VALUE lazy_chunk_while(VALUE self)
27742777 *
27752778 * Like Enumerable#slice_after, but chains operation to be lazy-evaluated.
27762779 */
2777- static VALUE lazy_slice_after (VALUE self )
2780+ static VALUE
2781+ lazy_slice_after (VALUE self )
27782782{
27792783}
27802784
@@ -2785,7 +2789,8 @@ static VALUE lazy_slice_after(VALUE self)
27852789 *
27862790 * Like Enumerable#slice_before, but chains operation to be lazy-evaluated.
27872791 */
2788- static VALUE lazy_slice_before (VALUE self )
2792+ static VALUE
2793+ lazy_slice_before (VALUE self )
27892794{
27902795}
27912796
@@ -2795,7 +2800,8 @@ static VALUE lazy_slice_before(VALUE self)
27952800 *
27962801 * Like Enumerable#slice_when, but chains operation to be lazy-evaluated.
27972802 */
2798- static VALUE lazy_slice_when (VALUE self )
2803+ static VALUE
2804+ lazy_slice_when (VALUE self )
27992805{
28002806}
28012807# endif
@@ -3562,7 +3568,8 @@ product_each(VALUE obj, struct product_state *pstate)
35623568 VALUE eobj = RARRAY_AREF (enums , pstate -> index );
35633569
35643570 rb_block_call (eobj , id_each_entry , 0 , NULL , product_each_i , (VALUE )pstate );
3565- } else {
3571+ }
3572+ else {
35663573 rb_funcallv (pstate -> block , id_call , pstate -> argc , pstate -> argv );
35673574 }
35683575
@@ -3677,7 +3684,8 @@ enumerator_s_product(VALUE klass, VALUE enums)
36773684
36783685 if (rb_block_given_p ()) {
36793686 return enum_product_run (obj , rb_block_proc ());
3680- } else {
3687+ }
3688+ else {
36813689 return obj ;
36823690 }
36833691}
0 commit comments