Empty tuple instead of break in Swift switch statement?

Viewed 68

Usually I'd write break if I have nothing to execute in a switch-case, but this works, too:

switch e {
default:
    ()
}

What is the meaning here? Execute empty function?

0 Answers
Related