diff --git a/client-demo/src/main.rs b/client-demo/src/main.rs index 584cdf1a0..798a4da63 100644 --- a/client-demo/src/main.rs +++ b/client-demo/src/main.rs @@ -118,7 +118,6 @@ async fn test_dl(mut circ: ClientCirc) -> Result<()> { Ok(()) } -#[allow(unused)] async fn test_http(mut circ: ClientCirc) -> Result<()> { let mut stream = circ.begin_stream("www.torproject.org", 80).await?; diff --git a/tor-netdir/src/lib.rs b/tor-netdir/src/lib.rs index 510b4d9ca..b9e6d5bf7 100644 --- a/tor-netdir/src/lib.rs +++ b/tor-netdir/src/lib.rs @@ -86,7 +86,6 @@ enum WeightFn { /// A view of the Tor directory, suitable for use in building /// circuits. -#[allow(unused)] pub struct NetDir { /// A microdescriptor consensus that lists the members of the network, /// and maps each one to a 'microdescriptor' that has more information