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 solana_sdk::timing::duration_as_ns;
use std::{fmt, time::Instant};
use {
solana_sdk::timing::duration_as_ns,
std::{fmt, time::Instant},
};
#[derive(Debug)]
pub struct Measure {
@ -100,9 +102,10 @@ impl fmt::Display for Measure {
#[cfg(test)]
mod tests {
use super::*;
use std::thread::sleep;
use std::time::Duration;
use {
super::*,
std::{thread::sleep, time::Duration},
};
#[test]
fn test_measure() {