summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2023-11-09 15:03:11 +0000
committerTom Forbes <tom@tomforb.es>2023-11-09 15:03:11 +0000
commit41d37f15144e8642bb3473c70e36bf2d9c5ca073 (patch)
tree1f7e91168e87327a7e43f2d77ac64f8d657be48b
parent6a8c687a2204238fa58f93c8962b9a8a70adf8c1 (diff)
Remove the interface from WindowsPinger
-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 69f7d61..0bb8f71 100644
--- a/pinger/src/windows.rs
+++ b/pinger/src/windows.rs
@@ -12,16 +12,14 @@ pub static RE: Lazy<Regex> = lazy_regex!(r"(?ix-u)time=(?P<ms>\d+)(?:\.(?P<ns>\d
pub struct WindowsPinger {
interval: Duration,
- interface: Option<String>,
}
impl Pinger for WindowsPinger {
type Parser = WindowsParser;
- fn new(interval: Duration, interface: Option<String>) -> Self {
+ fn new(interval: Duration, _interface: Option<String>) -> Self {
Self {
interval,
- interface,
}
}