summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorAnton Rieder <1301152+aried3r@users.noreply.github.com>2021-06-22 13:15:21 +0200
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-22 20:51:57 +0900
commitbce0021f75eaca118c18ebb5a4fe29ede565071f (patch)
treef6a078622aaadcca7f8d8ebc1375c0623855c275 /time.c
parenteef3c08edc2fc74496cdc1e4d89798d053e32561 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time.c b/time.c
index 73e3f116af..12e5c0d753 100644
--- a/time.c
+++ b/time.c
@@ -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