aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
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 5d200bb992..f2cb4542de 100644
--- a/variable.c
+++ b/variable.c
@@ -2185,7 +2185,7 @@ rb_const_set(VALUE klass, ID id, VALUE val)
if (load && (ele = check_autoload_data(load)) && (ele->thread == rb_thread_current())) {
rb_clear_constant_cache();
- ele->value = val; /* autoload_i is shady */
+ ele->value = val; /* autoload_i is non-WB-protected */
return;
}
/* otherwise, allow to override */