aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2023-08-29 23:53:28 +1200
committerGitHub <noreply@github.com>2023-08-29 23:53:28 +1200
commitf0b43597ffbef0a43ca3459d8807bdc00ba4ec59 (patch)
treeebcb7ba76d49536cf0d053866d3eff858a6c8675
parentcfae3ed42224b3e59cd6a02bf25a1d820e3b2b36 (diff)
downloadruby-f0b43597ffbef0a43ca3459d8807bdc00ba4ec59.tar.gz
[DOC] Improved documentation. (#8319)
-rw-r--r--io_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_buffer.c b/io_buffer.c
index 8d09e09a89..d987b8fa38 100644
--- a/io_buffer.c
+++ b/io_buffer.c
@@ -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)
* # =>