Skip to content

Commit 5dcb100

Browse files
fix: swiftlint errors in Web3+Eventloop.swift
1 parent 662e3bf commit 5dcb100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/web3swift/Web3/Web3+Eventloop.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ class RepeatingTimer {
4949
private lazy var timer: DispatchSourceTimer = {
5050
let t = DispatchSource.makeTimerSource()
5151
t.schedule(deadline: .now() + self.timeInterval, repeating: self.timeInterval)
52-
t.setEventHandler(handler: { [weak self] in
52+
t.setEventHandler { [weak self] in
5353
self?.eventHandler?()
54-
})
54+
}
5555
return t
5656
}()
5757

0 commit comments

Comments
 (0)