Skip to content

Commit 9cbebdc

Browse files
tjoyalbyroot
authored andcommitted
[DOC] Fix documentation typo for Process#clock_gettime
Fixes [Misc #18610]
1 parent ff7eb85 commit 9cbebdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8331,7 +8331,7 @@ ruby_real_ms_time(void)
83318331
* The underlying function, clock_gettime(), returns a number of nanoseconds.
83328332
* Float object (IEEE 754 double) is not enough to represent
83338333
* the return value for CLOCK_REALTIME.
8334-
* If the exact nanoseconds value is required, use +:nanoseconds+ as the +unit+.
8334+
* If the exact nanoseconds value is required, use +:nanosecond+ as the +unit+.
83358335
*
83368336
* The origin (zero) of the returned value varies.
83378337
* For example, system start up time, process start up time, the Epoch, etc.

0 commit comments

Comments
 (0)