summaryrefslogtreecommitdiff
path: root/io_buffer.c
diff options
context:
space:
mode:
authorAlexander Bulancov <6594487+trinistr@users.noreply.github.com>2026-02-01 20:51:44 +0300
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2026-02-02 10:04:44 +0900
commit5cf4087000ea3d1c2249273bc4484c168df39842 (patch)
tree66e932875d27fef5b90b457e4a46e7faf435a449 /io_buffer.c
parent198b52f5ad099f0ec9b9b64add9ed3e23e6bdc33 (diff)
[DOC] Fix typos in IO::Buffer's docs
Diffstat (limited to 'io_buffer.c')
-rw-r--r--io_buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_buffer.c b/io_buffer.c
index f1afc3d3ba..4bb4685e74 100644
--- a/io_buffer.c
+++ b/io_buffer.c
@@ -1481,7 +1481,7 @@ rb_io_buffer_locked(VALUE self)
* * for a buffer created from scratch: free memory.
* * for a buffer created from string: undo the association.
*
- * After the buffer is freed, no further operations can't be performed on it.
+ * After the buffer is freed, no further operations can be performed on it.
*
* You can resize a freed buffer to re-allocate it.
*
@@ -3500,7 +3500,7 @@ memory_not(unsigned char * restrict output, unsigned char * restrict base, size_
* call-seq:
* ~source -> io_buffer
*
- * Generate a new buffer the same size as the source by applying the binary NOT
+ * Generate a new buffer the same size as the source by applying the unary NOT
* operation to the source.
*
* ~IO::Buffer.for("1234567890")
@@ -3690,7 +3690,7 @@ memory_not_inplace(unsigned char * restrict base, size_t size)
* call-seq:
* source.not! -> io_buffer
*
- * Modify the source buffer in place by applying the binary NOT
+ * Modify the source buffer in place by applying the unary NOT
* operation to the source.
*
* source = IO::Buffer.for("1234567890").dup # Make a read/write copy.