Swift 5.9 switch statement enhancement
Dec 10, 2023
Now with Swift 5.9, we can omit the return keyword to shorten the code in every case of the switch statement:
Now with Swift 5.9, we can omit the return keyword to shorten the code in every case of the switch statement: