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 cf4bcbd commit aaadd9fCopy full SHA for aaadd9f
Sources/SymbolKit/SymbolGraph/Symbol/Symbol+KindIdentifier.swift
@@ -68,7 +68,7 @@ extension SymbolGraph.Symbol {
68
/// - Parameter identifier: The identifier string to check.
69
/// - Returns: The matching `KindIdentifier` case, or `nil` if there was no match.
70
private static func lookupIdentifier(identifier: String) -> KindIdentifier? {
71
- allCases.first(where: { $0.identifier == identifier })
+ allCases.first { $0.identifier == identifier }
72
}
73
74
/// Compares the given identifier against the known default symbol kinds, and returns whether it matches one.
0 commit comments