Remove newlines from import statements to avoid problems

Rust fmt automatically groups the imports (from top to bottom) as `pub use` `use crate` and `use`.
There is no need to introduce sections which cause annoyance when auto importing using the IDE.
This commit is contained in:
Daniel Karzel 2021-01-21 11:20:57 +11:00
parent 4e858197c9
commit 44c4b5dcea
24 changed files with 120 additions and 146 deletions

View file

@ -1,8 +1,11 @@
pub mod wallet;
use crate::bitcoin;
use ::bitcoin::hashes::core::fmt::Formatter;
pub use ::monero::{Network, PrivateKey, PublicKey};
use anyhow::Result;
use async_trait::async_trait;
pub use curve25519_dalek::scalar::Scalar;
use rand::{CryptoRng, RngCore};
use rust_decimal::{
prelude::{FromPrimitive, ToPrimitive},
@ -14,11 +17,6 @@ use std::{
ops::{Add, Mul, Sub},
str::FromStr,
};
use crate::bitcoin;
pub use ::monero::{Network, PrivateKey, PublicKey};
pub use curve25519_dalek::scalar::Scalar;
pub use wallet::Wallet;
pub const PICONERO_OFFSET: u64 = 1_000_000_000_000;