chore(trie): make Debug impl work for any provider (#13107)

This commit is contained in:
Roman Krasiuk
2024-12-03 17:43:35 +01:00
committed by GitHub
parent 64c6343fd1
commit e4c7fac9db

View File

@ -46,7 +46,7 @@ impl Default for SparseStateTrie {
}
}
impl fmt::Debug for SparseStateTrie {
impl<P: BlindedProviderFactory> fmt::Debug for SparseStateTrie<P> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("SparseStateTrie")
.field("state", &self.state)