summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorThierry Joyal <thierry.joyal@gmail.com>2022-03-07 09:37:21 +0000
committerJean Boussier <jean.boussier@gmail.com>2022-03-07 13:02:01 +0100
commit9cbebdcb74b98a012be72c8cc6b64099312eb432 (patch)
treed8f7305573b1f091f42abe656aa4a0de62b1c9e0 /process.c
parentff7eb851257d2014817e237a704c85b7d5f50754 (diff)
downloadruby-9cbebdcb74b98a012be72c8cc6b64099312eb432.tar.gz
[DOC] Fix documentation typo for Process#clock_gettime
Fixes [Misc #18610]
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 88cf98c971..2282fc92dc 100644
--- a/process.c
+++ b/process.c
@@ -8331,7 +8331,7 @@ ruby_real_ms_time(void)
* The underlying function, clock_gettime(), returns a number of nanoseconds.
* Float object (IEEE 754 double) is not enough to represent
* the return value for CLOCK_REALTIME.
- * If the exact nanoseconds value is required, use +:nanoseconds+ as the +unit+.
+ * If the exact nanoseconds value is required, use +:nanosecond+ as the +unit+.
*
* The origin (zero) of the returned value varies.
* For example, system start up time, process start up time, the Epoch, etc.