Don't warn generally for IO::Buffer, only on specific code paths e.g. map. (#9131)

This commit is contained in:
Samuel Williams 2023-12-06 13:42:45 +13:00 committed by GitHub
parent 0346cbbc14
commit 00467699a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;