diff --git a/Sources/BitCollections/BitSet/BitSet+BidirectionalCollection.swift b/Sources/BitCollections/BitSet/BitSet+BidirectionalCollection.swift index b6f21550..144793cf 100644 --- a/Sources/BitCollections/BitSet/BitSet+BidirectionalCollection.swift +++ b/Sources/BitCollections/BitSet/BitSet+BidirectionalCollection.swift @@ -174,7 +174,7 @@ extension BitSet: Collection, BidirectionalCollection { /// Returns the position immediately after the given index. /// - /// - Parameter `index`: A valid index of the bit set. `index` must be less + /// - Parameter index: A valid index of the bit set. `index` must be less /// than `endIndex`. /// /// - Returns: The valid index immediately after `index`. @@ -194,7 +194,7 @@ extension BitSet: Collection, BidirectionalCollection { /// Returns the position immediately before the given index. /// - /// - Parameter `index`: A valid index of the bit set. + /// - Parameter index: A valid index of the bit set. /// `index` must be greater than `startIndex`. /// /// - Returns: The preceding valid index immediately before `index`. diff --git a/Sources/DequeModule/Deque/Deque+Collection.swift b/Sources/DequeModule/Deque/Deque+Collection.swift index 2852c8ee..1a252557 100644 --- a/Sources/DequeModule/Deque/Deque+Collection.swift +++ b/Sources/DequeModule/Deque/Deque+Collection.swift @@ -210,7 +210,7 @@ extension Deque: RandomAccessCollection { /// Returns the position immediately after the given index. /// - /// - Parameter `i`: A valid index of the deque. `i` must be less than + /// - Parameter i: A valid index of the deque. `i` must be less than /// `endIndex`. /// /// - Returns: The next valid index immediately after `i`. @@ -226,7 +226,7 @@ extension Deque: RandomAccessCollection { /// Replaces the given index with its successor. /// - /// - Parameter `i`: A valid index of the deque. `i` must be less than + /// - Parameter i: A valid index of the deque. `i` must be less than /// `endIndex`. /// /// - Complexity: O(1) @@ -241,7 +241,7 @@ extension Deque: RandomAccessCollection { /// Returns the position immediately before the given index. /// - /// - Parameter `i`: A valid index of the deque. `i` must be greater than + /// - Parameter i: A valid index of the deque. `i` must be greater than /// `startIndex`. /// /// - Returns: The preceding valid index immediately before `i`. @@ -257,7 +257,7 @@ extension Deque: RandomAccessCollection { /// Replaces the given index with its predecessor. /// - /// - Parameter `i`: A valid index of the deque. `i` must be greater than `startIndex`. + /// - Parameter i: A valid index of the deque. `i` must be greater than `startIndex`. /// /// - Complexity: O(1) @inlinable