style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
@@ -107,8 +107,9 @@ impl From<TrieError> for &'static str {
|
||||
match e {
|
||||
TrieError::InvalidStateRoot => "The state root is not in the database.",
|
||||
TrieError::IncompleteDatabase => "A trie item was not found in the database.",
|
||||
TrieError::ValueAtIncompleteKey =>
|
||||
"A value was found with a key that is not byte-aligned.",
|
||||
TrieError::ValueAtIncompleteKey => {
|
||||
"A value was found with a key that is not byte-aligned."
|
||||
},
|
||||
TrieError::DecoderError => "A corrupt trie item was encountered.",
|
||||
TrieError::InvalidHash => "The hash does not match the expected value.",
|
||||
TrieError::DuplicateKey => "The proof contains duplicate keys.",
|
||||
|
||||
Reference in New Issue
Block a user