Skip to content

Commit

Permalink
t - change if to guard
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed Dec 18, 2023
1 parent 325e26a commit 8da928b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private class Changeling<T> {
}

func tryAgain(returning: T, after: Int) -> T {
if tries >= after {
guard tries < after else {
return returning
}
tries += 1
Expand Down

0 comments on commit 8da928b

Please sign in to comment.