Skip to content

Commit f89dbd3

Browse files
authored
Merge pull request swiftlang#33711 from stephentyrone/remainder-sign
2 parents 8bbffac + 294bde9 commit f89dbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Integers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ public protocol BinaryInteger :
12111211
///
12121212
/// - Parameter rhs: The value to divide this value by.
12131213
/// - Returns: A tuple containing the quotient and remainder of this value
1214-
/// divided by `rhs`. The remainder has the same sign as `rhs`.
1214+
/// divided by `rhs`. The remainder has the same sign as `lhs`.
12151215
func quotientAndRemainder(dividingBy rhs: Self)
12161216
-> (quotient: Self, remainder: Self)
12171217

0 commit comments

Comments
 (0)