summaryrefslogtreecommitdiff
path: root/variable.c
diff options
authorcui fliter <imcusg@gmail.com>2024-03-05 17:50:47 +0800
committerGitHub <noreply@github.com>2024-03-05 18:50:47 +0900
commit226a889dc7688cbd0c96cce1005adbda69b03ec4 (patch)
tree05c10b3582b7533059f967ef55dba9b6d283377b /variable.c
parent8e27c01fbb36d5020bb465e17a19a3bad35144ef (diff)
[DOC] fix some comments
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 564fd643fb..0f9c5f6111 100644
--- a/variable.c
+++ b/variable.c
@@ -1442,7 +1442,7 @@ rb_obj_convert_to_too_complex(VALUE obj, st_table *table)
if (old_ivtbl) {
/* We need to modify old_ivtbl to have the too complex shape
* and hold the table because the xmalloc could trigger a GC
- * compaction. We want the table to be updated rather than than
+ * compaction. We want the table to be updated rather than
* the original ivptr. */
#if SHAPE_IN_BASIC_FLAGS
rb_shape_set_shape_id(obj, OBJ_TOO_COMPLEX_SHAPE_ID);
close