[DOC] Improved documentation. (#8319)

This commit is contained in:
Samuel Williams 2023-08-29 23:53:28 +12:00 committed by GitHub
parent cfae3ed422
commit f0b43597ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-08-29 11:53:50 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>

View File

@ -2181,8 +2181,8 @@ rb_io_buffer_initialize_copy(VALUE self, VALUE source)
* call-seq:
* copy(source, [offset, [length, [source_offset]]]) -> size
*
* Efficiently copy buffer from a source IO::Buffer into the buffer,
* at +offset+ using +memcpy+. For copying String instances, see #set_string.
* Efficiently copy from a source IO::Buffer into the buffer, at +offset+
* using +memcpy+. For copying String instances, see #set_string.
*
* buffer = IO::Buffer.new(32)
* # =>