diff --git a/Guides/Indexed.md b/Guides/Indexed.md index 0fb7d0b..11eb52c 100644 --- a/Guides/Indexed.md +++ b/Guides/Indexed.md @@ -24,11 +24,11 @@ for (i, n) in numbers.indexed() { The `indexed` method returns an `Indexed` type: ```swift -extension Sequence { +extension Collection { func indexed() -> Indexed } ``` -`Indexed` scales from a sequence up to a random-access collection, depending on +`Indexed` scales from a collection up to a random-access collection, depending on its base type.