Update Indexed.swift (#8)

This commit is contained in:
Ian Keen authored and GitHub committed 2020-10-08 12:48:44 -05:00
1 parent af3eab4fb5
commit cffb44dceb
1 file changed
+1 -1
+1 -1
View File
@@ -68,7 +68,7 @@ extension Collection {
///
/// let names: Set = ["Sofia", "Camilla", "Martina", "Mateo", "Nicolás"]
/// var shorterIndices: [Set<String>.Index] = []
/// for (i, name) in zip(names.indices, names) {
/// for (i, name) in names.indexed() {
/// if name.count <= 5 {
/// shorterIndices.append(i)
/// }