Skip to content

Commit

Permalink
Update README.md (#278)
Browse files Browse the repository at this point in the history
Remove redundant tuple in handler type for readme code.
  • Loading branch information
daeho-ro authored Nov 30, 2024
1 parent 588267d commit 0d66daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public class FooMock: Foo {
}

var barCallCount = 0
var barHandler: ((Float) -> (String))?
var barHandler: ((Float) -> String)?
func bar(arg: Float) -> String {
barCallCount += 1
if let barHandler = barHandler {
Expand Down

0 comments on commit 0d66daa

Please sign in to comment.