@@ -164,25 +164,25 @@ extension SortedArray {
164
164
// swift(4.1.50): Swift 4.2 compiler in Swift 4 mode
165
165
// swift(4.2): Swift 4.2 compiler
166
166
#if !swift(>=4.1.50)
167
- /// Removes the elements in the specified subrange from the array.
168
- ///
169
- /// - Parameter bounds: The range of the array to be removed. The
170
- /// bounds of the range must be valid indices of the array.
171
- ///
172
- /// - Complexity: O(_n_), where _n_ is the length of the array.
173
- public mutating func removeSubrange( _ bounds: CountableRange < Int > ) {
174
- _elements. removeSubrange ( bounds)
175
- }
167
+ /// Removes the elements in the specified subrange from the array.
168
+ ///
169
+ /// - Parameter bounds: The range of the array to be removed. The
170
+ /// bounds of the range must be valid indices of the array.
171
+ ///
172
+ /// - Complexity: O(_n_), where _n_ is the length of the array.
173
+ public mutating func removeSubrange( _ bounds: CountableRange < Int > ) {
174
+ _elements. removeSubrange ( bounds)
175
+ }
176
176
177
- /// Removes the elements in the specified subrange from the array.
178
- ///
179
- /// - Parameter bounds: The range of the array to be removed. The
180
- /// bounds of the range must be valid indices of the array.
181
- ///
182
- /// - Complexity: O(_n_), where _n_ is the length of the array.
183
- public mutating func removeSubrange( _ bounds: CountableClosedRange < Int > ) {
184
- _elements. removeSubrange ( bounds)
185
- }
177
+ /// Removes the elements in the specified subrange from the array.
178
+ ///
179
+ /// - Parameter bounds: The range of the array to be removed. The
180
+ /// bounds of the range must be valid indices of the array.
181
+ ///
182
+ /// - Complexity: O(_n_), where _n_ is the length of the array.
183
+ public mutating func removeSubrange( _ bounds: CountableClosedRange < Int > ) {
184
+ _elements. removeSubrange ( bounds)
185
+ }
186
186
#endif
187
187
188
188
/// Removes the specified number of elements from the beginning of the
0 commit comments