Skip to content

Commit

Permalink
[DOC] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 authored Dec 20, 2023
1 parent 256f34a commit ffe561d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shape.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit ffe561d

Please sign in to comment.