From 1a40bed7dd79c11446fc993fb5592fe3924e04aa Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Wed, 24 Jun 2020 00:13:12 -0700 Subject: [PATCH] Fix reference to Instant in socks feature. (#88) The reference to time::Instant under feature = socks-proxy was incorrectly scoped, and should have been just Instant. This breaks the doc build and any builds that use feature = socks-proxy. --- src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.rs b/src/stream.rs index 3716bb3..4cc0d71 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -467,7 +467,7 @@ fn socks5_local_nslookup(hostname: &str, port: u16) -> Result, + deadline: Option, proxy_addr: SocketAddr, host: &str, port: u16,