diff --git a/array_init.html b/array_init.html index af3ebd373..0c8407dfc 100644 --- a/array_init.html +++ b/array_init.html @@ -374,35 +374,35 @@
↓foo.map({ $0 })
+foo.↓map({ $0 })
-↓foo.map { $0 }
+foo.↓map { $0 }
-↓foo.map { return $0 }
+foo.↓map { return $0 }
- ↓foo.map { elem in
+ foo.↓map { elem in
elem
}
- ↓foo.map { elem in
+ foo.↓map { elem in
return elem
}
- ↓foo.map { (elem: String) in
+ foo.↓map { (elem: String) in
elem
}
- ↓foo.map { elem -> String in
+ foo.↓map { elem -> String in
elem
}
-↓foo.map { $0 /* a comment */ }
+foo.↓map { $0 /* a comment */ }
-↓foo.map { /* a comment */ $0 }
+foo.↓map { /* a comment */ $0 }
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/array_init.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/array_init.html
index af3ebd373..0c8407dfc 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/array_init.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/array_init.html
@@ -374,35 +374,35 @@
Triggering Examples
-↓foo.map({ $0 })
+foo.↓map({ $0 })
-↓foo.map { $0 }
+foo.↓map { $0 }
-↓foo.map { return $0 }
+foo.↓map { return $0 }
- ↓foo.map { elem in
+ foo.↓map { elem in
elem
}
- ↓foo.map { elem in
+ foo.↓map { elem in
return elem
}
- ↓foo.map { (elem: String) in
+ foo.↓map { (elem: String) in
elem
}
- ↓foo.map { elem -> String in
+ foo.↓map { elem -> String in
elem
}
-↓foo.map { $0 /* a comment */ }
+foo.↓map { $0 /* a comment */ }
-↓foo.map { /* a comment */ $0 }
+foo.↓map { /* a comment */ $0 }
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/typesafe_array_init.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/typesafe_array_init.html
index 1fbff948d..f31847b0b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/typesafe_array_init.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/typesafe_array_init.html
@@ -358,19 +358,19 @@
Triggering Examples
func f<Seq: Sequence>(s: Seq) -> [Seq.Element] {
- ↓s.map({ $0 })
+ s.↓map({ $0 })
}
func f(array: [Int]) -> [Int] {
- ↓array.map { $0 }
+ array.↓map { $0 }
}
- let myInts = ↓[1, 2, 3].map { return $0 }
+ let myInts = [1, 2, 3].↓map { return $0 }
struct Generator: Sequence, IteratorProtocol {
func next() -> Int? { nil }
}
- let array = ↓Generator().map { i in i }
+ let array = Generator().↓map { i in i }
diff --git a/docsets/SwiftLintFramework.tgz b/docsets/SwiftLintFramework.tgz
index 0cb30df89..0a5018e72 100644
Binary files a/docsets/SwiftLintFramework.tgz and b/docsets/SwiftLintFramework.tgz differ
diff --git a/typesafe_array_init.html b/typesafe_array_init.html
index 1fbff948d..f31847b0b 100644
--- a/typesafe_array_init.html
+++ b/typesafe_array_init.html
@@ -358,19 +358,19 @@
Triggering Examples
func f<Seq: Sequence>(s: Seq) -> [Seq.Element] {
- ↓s.map({ $0 })
+ s.↓map({ $0 })
}
func f(array: [Int]) -> [Int] {
- ↓array.map { $0 }
+ array.↓map { $0 }
}
- let myInts = ↓[1, 2, 3].map { return $0 }
+ let myInts = [1, 2, 3].↓map { return $0 }
struct Generator: Sequence, IteratorProtocol {
func next() -> Int? { nil }
}
- let array = ↓Generator().map { i in i }
+ let array = Generator().↓map { i in i }