diff options
author | Jakub Panek <me@panekj.dev> | 2022-04-28 17:53:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 18:53:59 +0100 |
commit | 93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b (patch) | |
tree | c910b1bb047a540c361f6cb6f8e403f1b83b925a /atuin-client/src/database.rs | |
parent | 2cb4cb3982a354c984913be3382d8fed14bca06b (diff) |
ignore JetBrains IDEs, tidy-up imports (#348)
* ignore JB IDEs
* tidy-up imports
* add rustfmt config
Diffstat (limited to 'atuin-client/src/database.rs')
-rw-r--r-- | atuin-client/src/database.rs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/atuin-client/src/database.rs b/atuin-client/src/database.rs index cfd63a3a0..5f37e8b1e 100644 --- a/atuin-client/src/database.rs +++ b/atuin-client/src/database.rs @@ -1,10 +1,7 @@ -use std::env; -use std::path::Path; -use std::str::FromStr; +use std::{env, path::Path, str::FromStr}; use async_trait::async_trait; -use chrono::prelude::*; -use chrono::Utc; +use chrono::{prelude::*, Utc}; use fs_err as fs; use itertools::Itertools; use lazy_static::lazy_static; @@ -15,9 +12,11 @@ use sqlx::{ Result, Row, }; -use super::history::History; -use super::ordering; -use super::settings::{FilterMode, SearchMode}; +use super::{ + history::History, + ordering, + settings::{FilterMode, SearchMode}, +}; pub struct Context { session: String, |