A short summary of issue:
In our guideline there is a misuse of optional binding using if let foo = foo { ... } and guard let foo = foo else { ... }.
Reasoning and motivation:
After release of Swift 5.7 we can use new if let foo { ... } and guard let foo else { ... } shorthand syntax as our guideline mentioned here.
A short summary of issue: In our guideline there is a misuse of optional binding using
if let foo = foo { ... }
andguard let foo = foo else { ... }
.Reasoning and motivation: After release of Swift 5.7 we can use new
if let foo { ... }
andguard let foo else { ... }
shorthand syntax as our guideline mentioned here.Sources: swift-evolution