From 4ff625ca567bb2fdcc2257afbb4704b692ee62f6 Mon Sep 17 00:00:00 2001 From: Xander Bil Date: Thu, 22 Aug 2024 17:11:17 +0200 Subject: [PATCH] format --- zns-daemon/src/handlers/update/pubkeys/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/zns-daemon/src/handlers/update/pubkeys/mod.rs b/zns-daemon/src/handlers/update/pubkeys/mod.rs index a525ef2..54f6c7e 100644 --- a/zns-daemon/src/handlers/update/pubkeys/mod.rs +++ b/zns-daemon/src/handlers/update/pubkeys/mod.rs @@ -17,10 +17,7 @@ pub trait PublicKey { let type_size = reader.read_i32()?; let read = reader.read(type_size as usize)?; let algo_type = from_utf8(&read).map_err(|e| ZNSError::Key { - message: format!( - "Could not convert type name bytes to string: {}", - e - ), + message: format!("Could not convert type name bytes to string: {}", e), })?; if algo_type == key_type {