fix formatting

This commit is contained in:
glyph 2022-06-29 13:56:43 +01:00
parent 2abe4b5e10
commit 914ffb70cc
1 changed files with 6 additions and 8 deletions

View File

@ -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)
})
}
};