summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorChubby Puddles Esq <andrew@2b9x.com>2020-01-10 11:33:38 -0800
committerChubby Puddles Esq <andrew@2b9x.com>2020-01-10 11:33:38 -0800
commit524142b64edc488a403651ce0bf6b9afa6dbe189 (patch)
treea587c0d6f1994d602f7be72f360a6e9c6ed21103 /src/tests
parent3eecb969d5440b68bbcc808a062661223c60681e (diff)
made requested PR changes
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/fakes/fake_input.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/tests/fakes/fake_input.rs b/src/tests/fakes/fake_input.rs
index bd4295e..253082e 100644
--- a/src/tests/fakes/fake_input.rs
+++ b/src/tests/fakes/fake_input.rs
@@ -3,10 +3,7 @@ use ::ipnetwork::IpNetwork;
use ::pnet_bandwhich_fork::datalink::DataLinkReceiver;
use ::pnet_bandwhich_fork::datalink::NetworkInterface;
use ::std::collections::HashMap;
-use ::std::future::Future;
use ::std::net::{IpAddr, Ipv4Addr, SocketAddr};
-use ::std::pin::Pin;
-use ::std::task::{Context, Poll};
use ::std::{thread, time};
use ::termion::event::Event;
use ::tokio::runtime::Runtime;
@@ -187,13 +184,3 @@ impl Lookup for FakeResolver {
self.0.get(&ip).cloned()
}
}
-
-struct FakeBackground {}
-
-impl Future for FakeBackground {
- type Output = ();
-
- fn poll(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Self::Output> {
- Poll::Ready(())
- }
-}