Open nicklockwood opened 2 weeks ago
Collapse nested if statements or sequential guard statements into a single statement:
if foo { if bar { } } guard foo else { return } guard bar else { return }
becomes
if foo, bar { } guard foo, bar else { return }
Collapse nested if statements or sequential guard statements into a single statement:
becomes