Skip to content

Commit 6491da8

Browse files
authored
Merge pull request #41339 from amartini51/BidirectionalCollection_88709422
Add missing word & slightly clarify.
2 parents 2ddadc2 + 9bc7b8e commit 6491da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/BidirectionalCollection.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
/// move by the same amount in each direction. That is, for any index `i` into
3232
/// a bidirectional collection `c`:
3333
///
34-
/// - If `i >= c.startIndex && i < c.endIndex`,
34+
/// - If `i >= c.startIndex && i < c.endIndex`, then
3535
/// `c.index(before: c.index(after: i)) == i`.
36-
/// - If `i > c.startIndex && i <= c.endIndex`
36+
/// - If `i > c.startIndex && i <= c.endIndex`, then
3737
/// `c.index(after: c.index(before: i)) == i`.
3838
public protocol BidirectionalCollection: Collection
3939
where SubSequence: BidirectionalCollection, Indices: BidirectionalCollection {

0 commit comments

Comments
 (0)