style: organize and format use statements
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
dbf3d70128
commit
ceb50a03b3
@@ -200,7 +200,6 @@ impl FromStr for NumberOrString {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fn main() -> Result<(), Error> {
|
||||
use std::fs;
|
||||
let proj_dirs = ProjectDirs::from("gt0.ca", "Andrew Phillips", "Keep");
|
||||
|
||||
@@ -2,10 +2,10 @@ use anyhow::anyhow;
|
||||
|
||||
use crate::compression::CompressionType;
|
||||
// use std::io::BufWriter; // Removed unused import
|
||||
use crate::modes::common::ColumnType;
|
||||
use clap::Command;
|
||||
use std::path::PathBuf;
|
||||
use std::str::FromStr;
|
||||
use crate::modes::common::ColumnType;
|
||||
|
||||
pub fn mode_get(
|
||||
cmd: &mut Command,
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
use crate::Alignment;
|
||||
|
||||
use crate::db::{get_item, get_item_last, get_items, get_items_matching, Item, Meta, Tag};
|
||||
use crate::modes::common::{format_size, get_format_box_chars_no_border_line_separator, ColumnType};
|
||||
use crate::modes::common::{
|
||||
format_size, get_format_box_chars_no_border_line_separator, ColumnType,
|
||||
};
|
||||
use crate::modes::common::{size_column, string_column};
|
||||
use prettytable::color;
|
||||
use prettytable::row;
|
||||
|
||||
Reference in New Issue
Block a user