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

@ -1,5 +1,7 @@
use crate::{blockstore::*, blockstore_meta::SlotMeta};
use solana_sdk::clock::Slot;
use {
crate::{blockstore::*, blockstore_meta::SlotMeta},
solana_sdk::clock::Slot,
};
pub struct NextSlotsIterator<'a> {
pending_slots: Vec<Slot>,
@ -34,10 +36,10 @@ impl<'a> Iterator for NextSlotsIterator<'a> {
#[cfg(test)]
mod tests {
use super::*;
use crate::blockstore_processor::fill_blockstore_slot_with_ticks;
use solana_sdk::hash::Hash;
use std::collections::HashSet;
use {
super::*, crate::blockstore_processor::fill_blockstore_slot_with_ticks,
solana_sdk::hash::Hash, std::collections::HashSet,
};
#[test]
fn test_next_slots_iterator() {