Skip to content

Commit 2c35684

Browse files
authored
Merge pull request rails#51652 from heka1024/remove-false-comment
2 parents 107fd51 + 03c28c7 commit 2c35684

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

activesupport/lib/active_support/duration/iso8601_serializer.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def serialize
3535
# Return pair of duration's parts and whole duration sign.
3636
# Parts are summarized (as they can become repetitive due to addition, etc).
3737
# Zero parts are removed as not significant.
38-
# If all parts are negative it will negate all of them and return minus as a sign.
3938
def normalize
4039
parts = @duration.parts.each_with_object(Hash.new(0)) do |(k, v), p|
4140
p[k] += v unless v.zero?

0 commit comments

Comments
 (0)