summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-06-05 09:49:35 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-06-05 09:49:35 -0400
commit1a7ee14578526a043b68b017f661c801d0d489ea (patch)
treefb92e35a8da547610f018b66ef70fa971d9a5411
parent542c70aab748cf17960cc2a0959ba490983ceae6 (diff)
[DOC] Update flags doc for strings
The length of an embedded string is no longer in the flags.
-rw-r--r--string.c1
1 files changed, 0 insertions, 1 deletions
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