summaryrefslogtreecommitdiff
path: root/io_buffer.c
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@users.noreply.github.com>2023-02-28 03:56:06 +1000
committerGitHub <noreply@github.com>2023-02-27 09:56:06 -0800
commit2f7270c68150d9f49b48c8ff995f4f343d216cee (patch)
treed3610c4a0980667982cdd4952572ba1a7d583046 /io_buffer.c
parent526111290b2e01e798f436dfe4acc3bf10c6bbd1 (diff)
downloadruby-2f7270c68150d9f49b48c8ff995f4f343d216cee.tar.gz
Fix spelling (#7389)
Diffstat (limited to 'io_buffer.c')
-rw-r--r--io_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_buffer.c b/io_buffer.c
index 1599c54886..91083cd7e4 100644
--- a/io_buffer.c
+++ b/io_buffer.c
@@ -783,7 +783,7 @@ rb_io_buffer_inspect(VALUE self)
VALUE result = rb_io_buffer_to_s(self);
if (io_buffer_validate(data)) {
- // Limit the maximum size genearted by inspect.
+ // Limit the maximum size generated by inspect.
if (data->size <= 256) {
io_buffer_hexdump(result, 16, data->base, data->size, 0);
}