Skip to content

Commit ed6500f

Browse files
committed
[gardening][NSTextCheckingKey] Use explicit String type in init(rawValue:) for consistency with the codebase
1 parent b49545f commit ed6500f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSTextCheckingResult.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public struct NSTextCheckingKey: RawRepresentable, Hashable {
212212
self.init(rawValue: string)
213213
}
214214

215-
public init(rawValue: Self.RawValue) {
215+
public init(rawValue: String) {
216216
self.rawValue = rawValue
217217
}
218218
}

0 commit comments

Comments
 (0)