summaryrefslogtreecommitdiff
path: root/weakmap.c
diff options
context:
space:
mode:
authorcareworry <[email protected]>2024-04-18 23:32:34 +0800
committerGitHub <[email protected]>2024-04-18 15:32:34 +0000
commit8e08556fa7f2b6e9c43b040f2aea06dccead5d13 (patch)
treede8f84a17ebbbcbfe68424aadcef7228925b2ae1 /weakmap.c
parentff599aea7cb810ca5284c10184f435101e4b9349 (diff)
chore: remove repetitive words (#10573)
Signed-off-by: careworry <[email protected]>
Diffstat (limited to 'weakmap.c')
-rw-r--r--weakmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/weakmap.c b/weakmap.c
index a8e9fe2f8a..86920952f3 100644
--- a/weakmap.c
+++ b/weakmap.c
@@ -586,7 +586,7 @@ wmap_size(VALUE self)
* the key and the object as the value. This means that the key is of the type
* `VALUE *` while the value is of the type `VALUE`.
*
- * The object is not not directly stored as keys in the table because
+ * The object is not directly stored as keys in the table because
* `rb_gc_mark_weak` requires a pointer to the memory location to overwrite
* when the object is reclaimed. Using a pointer into the ST table entry is not
* safe because the pointer can change when the ST table is resized.