Skip to content

Commit 2423045

Browse files
authored
Merge pull request #7855 from apple/nc-rrc-replacerange
2 parents 0c0d131 + fa0ec5d commit 2423045

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/core/RangeReplaceableCollection.swift.gyb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,10 @@ public protocol _RangeReplaceableIndexable : _Indexable {
237237
/// add an empty initializer and the `replaceSubrange(_:with:)` method to your
238238
/// custom type. `RangeReplaceableCollection` provides default implementations
239239
/// 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.
244244
public protocol RangeReplaceableCollection
245245
: _RangeReplaceableIndexable, Collection
246246
{

0 commit comments

Comments
 (0)