From 54b53e2c8fc06e708232e399e3970fd0ecc5c4a5 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 13 Apr 2022 10:42:46 -0400 Subject: [ci skip] Fix docs --- struct.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'struct.c') diff --git a/struct.c b/struct.c index 6d9a929321..44ca389f04 100644 --- a/struct.c +++ b/struct.c @@ -1433,12 +1433,12 @@ recursive_eql(VALUE s, VALUE s2, int recur) * - other.class == self.class. * - For each member name +name+, other.name.eql?(self.name). * - * Customer = Struct.new(:name, :address, :zip) - * joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) - * joe_jr = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) - * joe_jr.eql?(joe) # => true - * joe_jr[:name] = 'Joe Smith, Jr.' - * joe_jr.eql?(joe) # => false + * Customer = Struct.new(:name, :address, :zip) + * joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) + * joe_jr = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) + * joe_jr.eql?(joe) # => true + * joe_jr[:name] = 'Joe Smith, Jr.' + * joe_jr.eql?(joe) # => false * * Related: Object#==. */ -- cgit v1.2.1