mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 07:27:55 +00:00
State db random fixes (#802)
* state-db: typo fixes * use fmt::Result for 'fmt' * state-db: typo fixes * state-db: use the same pattern to pass the parameter * state-db: follow the same style
This commit is contained in:
@@ -52,7 +52,7 @@ impl<Block: BlockT> Copy for BlockId<Block> {}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
impl<Block: BlockT> fmt::Display for BlockId<Block> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "{:?}", self)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user