Skip to content

Commit fa3e8a4

Browse files
committed
fix from review comments
1 parent cc360dd commit fa3e8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/nnnn-extracting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ The general declarations for these functions is as follows:
6363
///
6464
/// Traps if any position within the range is invalid.
6565
@_lifetime(copy self)
66-
public func extracting(_ byteOffsets: Range<Int>) -> Self
66+
public func extracting(_ bounds: Range<Index>) -> Self
6767

6868
/// Returns an extracted slice over the items within
6969
/// the supplied range of positions.
7070
///
7171
/// Traps if any position within the range is invalid.
7272
@_lifetime(copy self)
73-
public func extracting(_ byteOffsets: some RangeExpression<Int>) -> Self
73+
public func extracting(_ bounds: some RangeExpression<Index>) -> Self
7474

7575
/// Returns an extracted slice over all items of this container.
7676
@_lifetime(copy self)

0 commit comments

Comments
 (0)