From f70e5731e7a6cf1a06579cf27d9aace5864d235a Mon Sep 17 00:00:00 2001 From: Gautham Date: Wed, 20 Mar 2024 07:21:18 +0700 Subject: [PATCH] cargo fmt --- pallets/ocex/rpc/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pallets/ocex/rpc/src/lib.rs b/pallets/ocex/rpc/src/lib.rs index 21fd63077..78353af64 100644 --- a/pallets/ocex/rpc/src/lib.rs +++ b/pallets/ocex/rpc/src/lib.rs @@ -148,11 +148,7 @@ pub struct PolkadexOcexRpc { impl PolkadexOcexRpc { pub fn new(client: Arc, storage: T) -> Self { - Self { - client, - offchain_db: OffchainDb::new(storage), - _marker: Default::default(), - } + Self { client, offchain_db: OffchainDb::new(storage), _marker: Default::default() } } }