From 93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b Mon Sep 17 00:00:00 2001 From: Jakub Panek Date: Thu, 28 Apr 2022 17:53:59 +0000 Subject: ignore JetBrains IDEs, tidy-up imports (#348) * ignore JB IDEs * tidy-up imports * add rustfmt config --- atuin-client/src/sync.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'atuin-client/src/sync.rs') diff --git a/atuin-client/src/sync.rs b/atuin-client/src/sync.rs index 23f552e5..4ddaf514 100644 --- a/atuin-client/src/sync.rs +++ b/atuin-client/src/sync.rs @@ -5,10 +5,12 @@ use eyre::Result; use atuin_common::api::AddHistoryRequest; -use crate::api_client; -use crate::database::Database; -use crate::encryption::{encrypt, load_encoded_key, load_key}; -use crate::settings::{Settings, HISTORY_PAGE_SIZE}; +use crate::{ + api_client, + database::Database, + encryption::{encrypt, load_encoded_key, load_key}, + settings::{Settings, HISTORY_PAGE_SIZE}, +}; pub fn hash_str(string: &str) -> String { use sha2::{Digest, Sha256}; -- cgit v1.3.1