Skip to content

Commit

Permalink
Remove duplicated example
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelofabri committed Jun 27, 2022
1 parent 78891a9 commit 14c07d3
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ public struct VoidFunctionInTernaryConditionRule: ConfigurationProviderRule, Aut
}
"""),
Example("""
func get() -> Int { 1 }
func get(from elements: [Int]) -> Int { elements[0] }
func f(elements: [Int]) -> Int {
elements.isEmpty ? get() : get(from: elements)
}
"""),
Example("""
var value: Int {
mode == .fast ? fastComputation() : expensiveComputation()
}
Expand Down

0 comments on commit 14c07d3

Please sign in to comment.