diff options
author | Jean Boussier <[email protected]> | 2023-12-20 09:05:44 +0100 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2023-12-20 09:28:45 +0100 |
commit | 7c2d8198625ca2e38835ad06ab47b4ea3afbc34b (patch) | |
tree | 84f312554f433ef76efd1a40799308d48121a617 /shape.c | |
parent | 4927f251481df57a209284bb2ad2b237468e7792 (diff) |
Fix a grammar issue in the shape performance warning message
Diffstat (limited to 'shape.c')
-rw-r--r-- | shape.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ); |