Remove a couple of allow(unused) notations

This commit is contained in:
Nick Mathewson 2020-10-09 16:47:59 -04:00
parent cb0b115a7e
commit 2247664abe
2 changed files with 0 additions and 2 deletions

View File

@ -118,7 +118,6 @@ async fn test_dl(mut circ: ClientCirc) -> Result<()> {
Ok(()) Ok(())
} }
#[allow(unused)]
async fn test_http(mut circ: ClientCirc) -> Result<()> { async fn test_http(mut circ: ClientCirc) -> Result<()> {
let mut stream = circ.begin_stream("www.torproject.org", 80).await?; let mut stream = circ.begin_stream("www.torproject.org", 80).await?;

View File

@ -86,7 +86,6 @@ enum WeightFn {
/// A view of the Tor directory, suitable for use in building /// A view of the Tor directory, suitable for use in building
/// circuits. /// circuits.
#[allow(unused)]
pub struct NetDir { pub struct NetDir {
/// A microdescriptor consensus that lists the members of the network, /// A microdescriptor consensus that lists the members of the network,
/// and maps each one to a 'microdescriptor' that has more information /// and maps each one to a 'microdescriptor' that has more information