From 2247664abecb7dcacf3659b21b401e0269f95f89 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 9 Oct 2020 16:47:59 -0400 Subject: [PATCH] Remove a couple of allow(unused) notations --- client-demo/src/main.rs | 1 - tor-netdir/src/lib.rs | 1 - 2 files changed, 2 deletions(-) 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