[DOC] Fix layout in documentation of IO#fcntl

This commit is contained in:
Herwin 2023-09-02 18:49:40 +02:00 committed by GitHub
parent 8cd62fbc17
commit f867e936a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-09-02 16:50:04 +00:00
Merged: https://github.com/ruby/ruby/pull/8359

Merged-By: nobu <nobu@ruby-lang.org>

2
io.c
View File

@ -11372,7 +11372,7 @@ rb_fcntl(VALUE io, VALUE req, VALUE arg)
* a file-oriented I/O stream. Arguments and results are platform
* dependent.
*
* If +argument is a number, its value is passed directly;
* If +argument+ is a number, its value is passed directly;
* if it is a string, it is interpreted as a binary sequence of bytes.
* (Array#pack might be a useful way to build this string.)
*