Skip to content

Commit

Permalink
[Documentation] Fix typo, formatting in time.c
Browse files Browse the repository at this point in the history
Backticks do not result in code formatting.
  • Loading branch information
aried3r authored and nobu committed Jun 22, 2021
1 parent eef3c08 commit bce0021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions time.c
Expand Up @@ -3458,10 +3458,10 @@ time_to_i(VALUE time)
* the exact number of nanoseconds since the Epoch.
* (IEEE 754 double has 53bit mantissa.
* So it can represent exact number of nanoseconds only in
* `2 ** 53 / 1_000_000_000 / 60 / 60 / 24 = 104.2` days.)
* <tt>2 ** 53 / 1_000_000_000 / 60 / 60 / 24 = 104.2</tt> days.)
* When Ruby uses a nanosecond-resolution clock function,
* such as +clock_gettime+ of POSIX, to obtain the current time,
* Time#to_f can lost information of a Time object created with +Time.now+.
* Time#to_f can lose information of a Time object created with +Time.now+.
*/

static VALUE
Expand Down

0 comments on commit bce0021

Please sign in to comment.