From b9ad698c8711ddb10e812b809522a865e4175718 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 29 Mar 2019 00:59:34 +0000 Subject: process.c: [DOC] fix markups [ci skip] * process.c (rb_clock_getres): fix code markups, as `+` can not include parentheses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 87780f74bd..68a3197909 100644 --- a/process.c +++ b/process.c @@ -7906,7 +7906,7 @@ rb_clock_gettime(int argc, VALUE *argv) * * +clock_id+ can be a symbol as +Process.clock_gettime+. * However the result may not be accurate. - * For example, +Process.clock_getres(:GETTIMEOFDAY_BASED_CLOCK_REALTIME)+ + * For example, Process.clock_getres(:GETTIMEOFDAY_BASED_CLOCK_REALTIME) * returns 1.0e-06 which means 1 microsecond, but actual resolution can be more coarse. * * If the given +clock_id+ is not supported, Errno::EINVAL is raised. @@ -7923,10 +7923,10 @@ rb_clock_gettime(int argc, VALUE *argv) * the clock ticks per second for times() function and * CLOCKS_PER_SEC for clock() function. * - * +Process.clock_getres(:TIMES_BASED_CLOCK_PROCESS_CPUTIME_ID, :hertz)+ + * Process.clock_getres(:TIMES_BASED_CLOCK_PROCESS_CPUTIME_ID, :hertz) * returns the clock ticks per second. * - * +Process.clock_getres(:CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID, :hertz)+ + * Process.clock_getres(:CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID, :hertz) * returns CLOCKS_PER_SEC. * * p Process.clock_getres(Process::CLOCK_MONOTONIC) -- cgit v1.2.3