make run_dns_resolver public and fix typo

This commit is contained in:
trinity-1686a 2022-03-15 14:11:42 +01:00
parent 841f813a7c
commit 60431ade4f
1 changed files with 2 additions and 3 deletions

View File

@ -110,9 +110,8 @@ where
Ok(())
}
/// Launch a DNS resolver to lisetn on a given local port, and run
/// indefinitely.
pub(crate) async fn run_dns_resolver<R: Runtime>(
/// Launch a DNS resolver to listen on a given local port, and run indefinitely.
pub async fn run_dns_resolver<R: Runtime>(
runtime: R,
tor_client: TorClient<R>,
dns_port: u16,