Skip to content

Commit 608c388

Browse files
committed
fix fmt
1 parent 354d435 commit 608c388

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

rust/rbac-registration/src/cardano/provider.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//! Cardano RBAC provider trait, which are used during different stateful validation procedures.
1+
//! Cardano RBAC provider trait, which are used during different stateful validation
2+
//! procedures.
23
34
use std::future::Future;
45

rust/rbac-registration/src/registration/cardano/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ impl RegistrationChain {
5353
pub async fn new(
5454
cip509: &Cip509,
5555
provider: &impl RbacChainsProvider,
56-
) -> anyhow::Result<Option<Self>>
57-
{
56+
) -> anyhow::Result<Option<Self>> {
5857
let Some(new_chain) = Self::new_stateless(cip509) else {
5958
return Ok(None);
6059
};
@@ -106,8 +105,7 @@ impl RegistrationChain {
106105
&self,
107106
cip509: &Cip509,
108107
provider: &impl RbacChainsProvider,
109-
) -> anyhow::Result<Option<Self>>
110-
{
108+
) -> anyhow::Result<Option<Self>> {
111109
let Some(new_chain) = self.update_stateless(cip509) else {
112110
return Ok(None);
113111
};

0 commit comments

Comments
 (0)