Skip to content

Commit

Permalink
refact: lint trailing colosure
Browse files Browse the repository at this point in the history
  • Loading branch information
makinosp committed Aug 4, 2024
1 parent 45d073c commit 7996c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/VRCKit/Utils/TrustRank.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public extension ProfileElementRepresentable {
.systemTrustKnown,
.systemTrustBasic
]
let rankTag = rankTags.first(where: { tags.systemTags.contains($0) })
let rankTag = rankTags.first { tags.systemTags.contains($0) }
guard let rankTag = rankTag else { return .visitor }
return switch rankTag {
case .systemTrustVeteran: .trusted
Expand Down

0 comments on commit 7996c47

Please sign in to comment.