diff options
author | Anton Rieder <[email protected]> | 2021-06-22 13:15:21 +0200 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-06-22 20:51:57 +0900 |
commit | bce0021f75eaca118c18ebb5a4fe29ede565071f (patch) | |
tree | f6a078622aaadcca7f8d8ebc1375c0623855c275 /time.c | |
parent | eef3c08edc2fc74496cdc1e4d89798d053e32561 (diff) |
[Documentation] Fix typo, formatting in `time.c`
Backticks do not result in code formatting.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4594
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |