Skip to content

Commit 38b178e

Browse files
authored
Merge pull request #698 from damirstuhec/patch-4
Update 0104-improved-integers.md
2 parents a4413fd + 80f57a6 commit 38b178e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

proposals/0104-improved-integers.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ public protocol Numeric : Equatable, ExpressibleByIntegerLiteral {
319319
/// For example:
320320
///
321321
/// var x = 15
322-
/// y -= 7
323-
/// // y == 8
322+
/// x -= 7
323+
/// // x == 8
324324
static func -=(_ lhs: inout Self, rhs: Self)
325325

326326
/// Returns the product of the two given values.
@@ -340,8 +340,8 @@ public protocol Numeric : Equatable, ExpressibleByIntegerLiteral {
340340
/// For example:
341341
///
342342
/// var x = 15
343-
/// y *= 7
344-
/// // y == 105
343+
/// x *= 7
344+
/// // x == 105
345345
static func *=(_ lhs: inout Self, rhs: Self)
346346
}
347347

@@ -573,8 +573,8 @@ public protocol BinaryInteger :
573573
/// For example:
574574
///
575575
/// var x = 15
576-
/// y /= 7
577-
/// // y == 2
576+
/// x /= 7
577+
/// // x == 2
578578
static func /=(_ lhs: inout Self, rhs: Self)
579579

580580
/// Returns the remainder of dividing the first value by the second.

0 commit comments

Comments
 (0)