Skip to content

Commit a890244

Browse files
committed
Fix documentation for Indexed
1 parent 7ab0a20 commit a890244

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Guides/Indexed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ for (i, n) in numbers.indexed() {
2424
The `indexed` method returns an `Indexed` type:
2525

2626
```swift
27-
extension Sequence {
27+
extension Collection {
2828
func indexed() -> Indexed<Self>
2929
}
3030
```
3131

32-
`Indexed` scales from a sequence up to a random-access collection, depending on
32+
`Indexed` scales from a collection up to a random-access collection, depending on
3333
its base type.
3434

0 commit comments

Comments
 (0)