This commit is contained in:
Antoine Cœur
2017-06-25 10:42:21 +08:00
committed by GitHub
parent 5520ca2e42
commit 3cc015bfe2

View File

@@ -393,7 +393,7 @@ extension String {
// [0, 1].flatMap { x in
// if String(x) == "foo" { return "bar" } else { return nil }
// }
// Note that the second overload is delcared on a more specific protocol.
// Note that the second overload is declared on a more specific protocol.
// See: test/stdlib/StringFlatMap.swift for tests.
extension Sequence {
@available(swift, obsoleted: 4)