summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorhaseponpon <36598331+p0pemaru@users.noreply.github.com>2023-08-16 22:51:17 +0900
committerGitHub <noreply@github.com>2023-08-16 22:51:17 +0900
commit089227e94823542acfdafa68541d330eee42ffea (patch)
tree47462174c1a7ff3c4a7bc45a28aa885c7a5c07d5 /time.c
parent5a40f7db54dfcc7dadb75dde32c25b88c78d6a85 (diff)
[DOC] Specify the unit of return value for `Time#-`
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8217 Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 617326f996..d0c1d0811e 100644
--- a/time.c
+++ b/time.c
@@ -4410,7 +4410,7 @@ time_plus(VALUE time1, VALUE time2)
*
* When +other_time+ is given,
* returns a Float whose value is the difference
- * of the numeric values of +self+ and +other_time+:
+ * of the numeric values of +self+ and +other_time+ in seconds:
*
* t - t # => 0.0
*