We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c4e5df commit 8c850b8Copy full SHA for 8c850b8
ReleaseTooling/Sources/Utils/String+Utils.swift
@@ -21,7 +21,7 @@ public extension String {
21
/// Finds and returns the ranges of all occurrences of a given string within a given range of the
22
/// String, subject to given options,
23
/// using the specified locale, if any.
24
- /// - Returns: An an optional array of ranges where each range corresponds to an occurence of the
+ /// - Returns: An an optional array of ranges where each range corresponds to an occurrence of the
25
/// substring in the given string.
26
func ranges<T: StringProtocol>(of substring: T, options: CompareOptions = .literal,
27
locale: Locale? = nil) -> [Range<Index>] {
0 commit comments