Skip to content

Commit e22a2ed

Browse files
jdberryairspeedswift
authored andcommitted
Update 0173-swap-indices.md (#696)
There seems to be some confusion on the speling of Manifesto ;)
1 parent a5fc3cb commit e22a2ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposals/0173-swap-indices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ As part of the introduction of the Law of Exclusivity, the current `swap(_:_:)`
1111
function must be addressed, as this most common uses of `swap` directly violate
1212
the law. This proposal introduces an alternative: a method on
1313
`MutableCollection` that takes two indices for swapping two elements in the
14-
same collection,.
14+
same collection.
1515

1616
## Motivation
1717

@@ -25,11 +25,11 @@ some typical usage from that file:
2525
swap(&elements[lo], &elements[hi])
2626
```
2727

28-
Under changes proposed as part of the ownership manfifesto, this will no longer
28+
Under changes proposed as part of the ownership manifesto, this will no longer
2929
be legal Swift: a single variable (in this case, `elements`) cannot be passed
3030
as two different `inout` arguments to the same function.
3131

32-
For more background on exclusivity and ownership, see the [manfiesto](https://github.com/apple/swift/blob/master/docs/OwnershipManifesto.md)
32+
For more background on exclusivity and ownership, see the [manifesto](https://github.com/apple/swift/blob/master/docs/OwnershipManifesto.md)
3333

3434
## Proposed solution
3535

0 commit comments

Comments
 (0)