Reformat imports to a consistent style for imports
rustfmt.toml configuration: imports_granularity = "One" group_imports = "One"
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
pub use goauth::scopes::Scope;
|
||||
/// A module for managing a Google API access token
|
||||
use {
|
||||
goauth::{
|
||||
@ -15,8 +16,6 @@ use {
|
||||
},
|
||||
};
|
||||
|
||||
pub use goauth::scopes::Scope;
|
||||
|
||||
fn load_credentials() -> Result<Credentials, String> {
|
||||
// Use standard GOOGLE_APPLICATION_CREDENTIALS environment variable
|
||||
let credentials_file = std::env::var("GOOGLE_APPLICATION_CREDENTIALS")
|
||||
|
@ -782,15 +782,17 @@ where
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::StoredConfirmedBlock;
|
||||
use prost::Message;
|
||||
use solana_sdk::{hash::Hash, signature::Keypair, system_transaction};
|
||||
use solana_storage_proto::convert::generated;
|
||||
use solana_transaction_status::{
|
||||
ConfirmedBlock, TransactionStatusMeta, TransactionWithStatusMeta,
|
||||
use {
|
||||
super::*,
|
||||
crate::StoredConfirmedBlock,
|
||||
prost::Message,
|
||||
solana_sdk::{hash::Hash, signature::Keypair, system_transaction},
|
||||
solana_storage_proto::convert::generated,
|
||||
solana_transaction_status::{
|
||||
ConfirmedBlock, TransactionStatusMeta, TransactionWithStatusMeta,
|
||||
},
|
||||
std::convert::TryInto,
|
||||
};
|
||||
use std::convert::TryInto;
|
||||
|
||||
#[test]
|
||||
fn test_deserialize_protobuf_or_bincode_cell_data() {
|
||||
|
Reference in New Issue
Block a user