From a8902448b92b43c393c06ff3822334ab473925f7 Mon Sep 17 00:00:00 2001 From: Karl <5254025+karwa@users.noreply.github.com> Date: Thu, 8 Oct 2020 10:46:31 +0200 Subject: [PATCH] Fix documentation for Indexed --- Guides/Indexed.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.