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 2ddadc2 + 9bc7b8e commit 6491da8Copy full SHA for 6491da8
stdlib/public/core/BidirectionalCollection.swift
@@ -31,9 +31,9 @@
31
/// move by the same amount in each direction. That is, for any index `i` into
32
/// a bidirectional collection `c`:
33
///
34
-/// - If `i >= c.startIndex && i < c.endIndex`,
+/// - If `i >= c.startIndex && i < c.endIndex`, then
35
/// `c.index(before: c.index(after: i)) == i`.
36
-/// - If `i > c.startIndex && i <= c.endIndex`
+/// - If `i > c.startIndex && i <= c.endIndex`, then
37
/// `c.index(after: c.index(before: i)) == i`.
38
public protocol BidirectionalCollection: Collection
39
where SubSequence: BidirectionalCollection, Indices: BidirectionalCollection {
0 commit comments