This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant Void from empty closure parameters
It is enough to just write `() -> Void` instead of `(Void) -> Void`. In addition the explicit `Void` was causing this warning: "When calling this function in Swift 4 or later, you must pass a '()' tuple". Now it is fixed.
- Loading branch information