We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bbffac + 294bde9 commit f89dbd3Copy full SHA for f89dbd3
stdlib/public/core/Integers.swift
@@ -1211,7 +1211,7 @@ public protocol BinaryInteger :
1211
///
1212
/// - Parameter rhs: The value to divide this value by.
1213
/// - Returns: A tuple containing the quotient and remainder of this value
1214
- /// divided by `rhs`. The remainder has the same sign as `rhs`.
+ /// divided by `rhs`. The remainder has the same sign as `lhs`.
1215
func quotientAndRemainder(dividingBy rhs: Self)
1216
-> (quotient: Self, remainder: Self)
1217
0 commit comments