From 914ffb70cc84de35dd0d46db02bf820dca3440c0 Mon Sep 17 00:00:00 2001 From: glyph Date: Wed, 29 Jun 2022 13:56:43 +0100 Subject: [PATCH] fix formatting --- src/sbot.rs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/sbot.rs b/src/sbot.rs index e553d70..63bdeb4 100644 --- a/src/sbot.rs +++ b/src/sbot.rs @@ -84,18 +84,16 @@ impl Sbot { Keystore::CustomGoSbot(key_path) => { keystore::from_custom_gosbot_keypath(key_path.to_string()) .await - .unwrap_or_else(|_| panic!( - "couldn't read local go-sbot secret from: {}", - key_path - )) + .unwrap_or_else(|_| { + panic!("couldn't read local go-sbot secret from: {}", key_path) + }) } Keystore::CustomPatchwork(key_path) => { keystore::from_custom_patchwork_keypath(key_path.to_string()) .await - .unwrap_or_else(|_| panic!( - "couldn't read local patchwork secret from: {}", - key_path - )) + .unwrap_or_else(|_| { + panic!("couldn't read local patchwork secret from: {}", key_path) + }) } };