Reformat imports to a consistent style for imports

rustfmt.toml configuration:
  imports_granularity = "One"
  group_imports = "One"
This commit is contained in:
Michael Vines
2021-12-03 09:00:31 -08:00
parent 0ef1b25e4b
commit b8837c04ec
397 changed files with 5990 additions and 5175 deletions

View File

@@ -2,8 +2,10 @@
//!
//! this account carries the Bank's most recent bank hashes for some N parents
//!
use crate::hash::Hash;
use std::{iter::FromIterator, ops::Deref};
use {
crate::hash::Hash,
std::{iter::FromIterator, ops::Deref},
};
pub const MAX_ENTRIES: usize = 512; // about 2.5 minutes to get your vote in
@@ -54,8 +56,7 @@ impl Deref for SlotHashes {
#[cfg(test)]
mod tests {
use super::*;
use crate::hash::hash;
use {super::*, crate::hash::hash};
#[test]
fn test() {