diff --git a/examples/dane.rs b/examples/dane.rs index 00e06f2..862ab4a 100644 --- a/examples/dane.rs +++ b/examples/dane.rs @@ -4,7 +4,13 @@ use tokio_gemini::dns::DnsClient; async fn main() { let mut client = DnsClient::init(("1.1.1.1", 53)).await.unwrap(); println!( - "{:?}", - client.query_tlsa("torproject.org", 443).await.unwrap() + "{}", + client + .query_tlsa("torproject.org", 443) + .await + .unwrap() + .next() + .unwrap() + .hex() ); }