From 2225031a16fb05a1b38c5e2d24962e6fd3b5a8cc Mon Sep 17 00:00:00 2001 From: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:21:26 +0200 Subject: [PATCH] Clippy. --- examples/serve-zone.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/serve-zone.rs b/examples/serve-zone.rs index a72ffddb6..7543d8310 100644 --- a/examples/serve-zone.rs +++ b/examples/serve-zone.rs @@ -81,7 +81,7 @@ async fn main() { let key = Key::new(Algorithm::Sha256, &secret, key_name.clone(), None, None) .unwrap(); - key_store.insert((key_name, Algorithm::Sha256), key.into()); + key_store.insert((key_name, Algorithm::Sha256), key); // Populate a zone tree with test data let zone_bytes = include_bytes!("../test-data/zonefiles/nsd-example.txt");