Open nicklockwood opened 5 months ago
Examples:
// redundant `if` for x in y { if z { ... } } // simplified for x in y where z { ... }
// redundant nested `if` if x { if y { ... } } // simplified if x, y { ... }
// redundant braces if x { } else { if y { ... } } // simplified if x { ... } else if y { }
Examples: