From 1a7ee14578526a043b68b017f661c801d0d489ea Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 5 Jun 2023 09:49:35 -0400 Subject: [PATCH] [DOC] Update flags doc for strings The length of an embedded string is no longer in the flags. --- string.c | 1 - 1 file changed, 1 deletion(-) diff --git a/string.c b/string.c index 3c27646d5e..470bc59b76 100644 --- a/string.c +++ b/string.c @@ -82,7 +82,6 @@ VALUE rb_cSymbol; * * 1: RSTRING_NOEMBED * 2: STR_SHARED (== ELTS_SHARED) - * 2-6: RSTRING_EMBED_LEN (5 bits == 32) * 5: STR_SHARED_ROOT (RSTRING_NOEMBED==1 && STR_SHARED == 0, there may be * other strings that rely on this string's buffer) * 6: STR_BORROWED (when RSTRING_NOEMBED==1 && klass==0, unsafe to recycle