From 9cbebdcb74b98a012be72c8cc6b64099312eb432 Mon Sep 17 00:00:00 2001 From: Thierry Joyal Date: Mon, 7 Mar 2022 09:37:21 +0000 Subject: [DOC] Fix documentation typo for Process#clock_gettime Fixes [Misc #18610] --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'process.c') 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. -- cgit v1.2.1