File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -237,10 +237,10 @@ public protocol _RangeReplaceableIndexable : _Indexable {
237
237
/// add an empty initializer and the `replaceSubrange(_:with:)` method to your
238
238
/// custom type. `RangeReplaceableCollection` provides default implementations
239
239
/// of all its other methods using this initializer and method. For example,
240
- /// the `removeSubrange` method is implemented by calling `replaceRange` with
241
- /// an empty collection for the `newElements` parameter. You can override any
242
- /// of the protocol's required methods to provide your own custom
243
- /// implementation.
240
+ /// the `removeSubrange(_:) ` method is implemented by calling
241
+ /// `replaceSubrange(_:with:)` with an empty collection for the `newElements`
242
+ /// parameter. You can override any of the protocol's required methods to
243
+ /// provide your own custom implementation.
244
244
public protocol RangeReplaceableCollection
245
245
: _RangeReplaceableIndexable , Collection
246
246
{
You can’t perform that action at this time.
0 commit comments