Skip to content

Commit

Permalink
CR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mildm8nnered committed Aug 27, 2023
1 parent 940f17f commit d2c7f5f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,8 @@ private extension ExprSyntaxProtocol {
}

let operatorIndex = siblings.index(after: siblings.startIndex)
if let tokenKind = siblings[operatorIndex].as(BinaryOperatorExprSyntax.self)?.operatorToken.tokenKind,
tokenKind == .binaryOperator("<<") || tokenKind == .binaryOperator(">>") {
return true
if let tokenKind = siblings[operatorIndex].as(BinaryOperatorExprSyntax.self)?.operatorToken.tokenKind {
return tokenKind == .binaryOperator("<<") || tokenKind == .binaryOperator(">>")
}

return false
Expand Down

0 comments on commit d2c7f5f

Please sign in to comment.