Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Feb 26, 2020
1 parent ee18abc commit 2c0eafd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/api/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,10 @@ pub trait BlockImportOperation<Block: BlockT> {
/// trait for performing operations on the backend
pub trait ClientBackend<Block: BlockT, B: Backend<Block>> {
/// Lock the import lock, and run operations inside.
fn lock_import_and_run<R, Err, F>(&self, f: F) -> Result<R, Err> where
F: FnOnce(&mut ClientImportOperation<Block, B>) -> Result<R, Err>,
Err: From<sp_blockchain::Error>;
fn lock_import_and_run<R, Err, F>(&self, f: F) -> Result<R, Err>
where
F: FnOnce(&mut ClientImportOperation<Block, B>) -> Result<R, Err>,
Err: From<sp_blockchain::Error>;
}

/// Finalize Facilities
Expand Down

0 comments on commit 2c0eafd

Please sign in to comment.