Skip to content

Commit 54355ae

Browse files
authored
Merge pull request #14363 from ArtSabintsev/master
2 parents c7eeb3f + fe89d4d commit 54355ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SDK/Foundation/Calendar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ public struct Calendar : Hashable, Equatable, ReferenceConvertible, _MutableBoxi
591591
public func compare(_ date1: Date, to date2: Date, toUnitGranularity unit: NSCalendar.Unit) -> ComparisonResult { fatalError() }
592592

593593

594-
/// Compares the given dates down to the given component, reporting them `orderedSame` if they are the same in the given component and all larger components, otherwise either `orderedAscending` or `orderedAscending`.
594+
/// Compares the given dates down to the given component, reporting them `orderedSame` if they are the same in the given component and all larger components, otherwise either `orderedAscending` or `orderedDescending`.
595595
///
596596
/// - parameter date1: A date to compare.
597597
/// - parameter date2: A date to compare.

0 commit comments

Comments
 (0)