summaryrefslogtreecommitdiff
path: root/include/ruby/3/core/rstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/core/rstring.h')
-rw-r--r--include/ruby/3/core/rstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/3/core/rstring.h b/include/ruby/3/core/rstring.h
index 8951dd0d30..10104c7a55 100644
--- a/include/ruby/3/core/rstring.h
+++ b/include/ruby/3/core/rstring.h
@@ -65,7 +65,7 @@ enum ruby_rstring_flags {
RSTRING_FSTR = RUBY_FL_USER17
};
-enum {
+enum ruby_rstring_consts {
RSTRING_EMBED_LEN_SHIFT = RUBY_FL_USHIFT + 2,
RSTRING_EMBED_LEN_MAX = RUBY3_EMBED_LEN_MAX_OF(char) - 1
};