diff --git a/stdlib/public/core/StringRangeReplaceableCollection.swift.gyb b/stdlib/public/core/StringRangeReplaceableCollection.swift.gyb index 8d8c3822b86..0028126d6c9 100644 --- a/stdlib/public/core/StringRangeReplaceableCollection.swift.gyb +++ b/stdlib/public/core/StringRangeReplaceableCollection.swift.gyb @@ -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)