summaryrefslogtreecommitdiffstats
path: root/pinger
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2023-11-29 19:07:52 +0000
committerTom Forbes <tom@tomforb.es>2023-11-29 19:07:52 +0000
commitf9ee6a12caaff74c0404ce12240fbe0a2dff2942 (patch)
tree45b23065015935250bf432bc4167f9aac439db88 /pinger
parent2928fb17091e49b97bf6260d871ce1cbc2274a3e (diff)
Fix formatting
Diffstat (limited to 'pinger')
-rw-r--r--pinger/src/windows.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/pinger/src/windows.rs b/pinger/src/windows.rs
index 0bb8f71..18cb48a 100644
--- a/pinger/src/windows.rs
+++ b/pinger/src/windows.rs
@@ -18,9 +18,7 @@ impl Pinger for WindowsPinger {
type Parser = WindowsParser;
fn new(interval: Duration, _interface: Option<String>) -> Self {
- Self {
- interval,
- }
+ Self { interval }
}
fn start(&self, target: String) -> Result<mpsc::Receiver<PingResult>> {