summaryrefslogtreecommitdiff
path: root/io_buffer.c
diff options
context:
space:
mode:
authorSamuel Williams <[email protected]>2023-12-06 13:42:45 +1300
committerGitHub <[email protected]>2023-12-06 13:42:45 +1300
commit00467699a96902bc8dc68bf0ad237f9a02e093d5 (patch)
tree74524abcc84764d911a7e2d407606d81d8757b26 /io_buffer.c
parent0346cbbc148a6eec2f3a5b840758b00b51b3d016 (diff)
Don't warn generally for `IO::Buffer`, only on specific code paths e.g. `map`. (#9131)
Diffstat (limited to 'io_buffer.c')
-rw-r--r--io_buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/io_buffer.c b/io_buffer.c
index 942ab268ae..72ad31b3c4 100644
--- a/io_buffer.c
+++ b/io_buffer.c
@@ -699,8 +699,6 @@ io_flags_for_size(size_t size)
VALUE
rb_io_buffer_initialize(int argc, VALUE *argv, VALUE self)
{
- io_buffer_experimental();
-
rb_check_arity(argc, 0, 2);
struct rb_io_buffer *buffer = NULL;