Skip to content

Commit 9bc7b8e

Browse files
committed
Add missing comma & slightly clarify.
1 parent 57ce1d2 commit 9bc7b8e

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)