From 7c2d8198625ca2e38835ad06ab47b4ea3afbc34b Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 20 Dec 2023 09:05:44 +0100 Subject: [PATCH] Fix a grammar issue in the shape performance warning message --- shape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shape.c b/shape.c index f4308d63bad5ee..4cd4acd7f99d6b 100644 --- a/shape.c +++ b/shape.c @@ -734,7 +734,7 @@ rb_shape_get_next(rb_shape_t *shape, VALUE obj, ID id) rb_category_warn( RB_WARN_CATEGORY_PERFORMANCE, "The class %"PRIsVALUE" reached %d shape variations, instance variables accesses will be slower and memory usage increased.\n" - "It is recommended to define instance variable in a consistent order, for instance by eagerly defining them all in the #initialize method.", + "It is recommended to define instance variables in a consistent order, for instance by eagerly defining them all in the #initialize method.", rb_class_path(klass), SHAPE_MAX_VARIATIONS );