summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlle Jonsson <[email protected]>2025-01-22 16:29:38 +0100
committerHiroshi SHIBATA <[email protected]>2025-01-23 09:28:03 +0900
commit5244fd32431aeca9c46ab03bdf0d252d833353bb (patch)
treec44d41d379b523d6cd6ae5af3feaf8379b8ee4d9
parent5b1caffcbaa90fb5ecb1c44f3b4381307645bdbc (diff)
Repair documentation markup in object.c
Issue was visible in https://docs.ruby-lang.org/en/3.4/Kernel.html#module-Kernel-label-IO
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12613
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 8fe131c18a..248a65a64b 100644
--- a/object.c
+++ b/object.c
@@ -4350,7 +4350,7 @@ InitVM_Object(void)
* - #print: Prints the given objects to standard output without a newline.
* - #printf: Prints the string resulting from applying the given format string
* to any additional arguments.
- * - #putc: Equivalent to <tt.$stdout.putc(object)</tt> for the given object.
+ * - #putc: Equivalent to <tt>$stdout.putc(object)</tt> for the given object.
* - #puts: Equivalent to <tt>$stdout.puts(*objects)</tt> for the given objects.
* - #readline: Similar to #gets, but raises an exception at the end of file.
* - #readlines: Returns an array of the remaining lines from the current input.